MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / debug_open_idi

Method debug_open_idi

src/engine.rs:7238–7241  ·  view source on GitHub ↗

Helper: open a named+indexed element, configure. Caller must close_element().

(&mut self, name: &str, offset: u32, decl: &ElementDeclaration<CustomElementData>)

Source from the content-addressed store, hash-verified

7236
7237 /// Helper: open a named+indexed element, configure. Caller must close_element().
7238 fn debug_open_idi(&mut self, name: &str, offset: u32, decl: &ElementDeclaration<CustomElementData>) {
7239 self.open_element_with_id(&hash_string_with_offset(name, offset, 0));
7240 self.configure_open_element(decl);
7241 }
7242
7243 fn debug_get_config_type_label(config_type: ElementConfigType) -> (&'static str, Color) {
7244 match config_type {

Callers 1

Calls 3

hash_string_with_offsetFunction · 0.85
open_element_with_idMethod · 0.80

Tested by

no test coverage detected