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

Method get_open_element_id

src/engine.rs:1081–1084  ·  view source on GitHub ↗

Returns the internal u32 id of the currently open element.

(&self)

Source from the content-addressed store, hash-verified

1079
1080 /// Returns the internal u32 id of the currently open element.
1081 pub fn get_open_element_id(&self) -> u32 {
1082 let open_idx = self.get_open_layout_element();
1083 self.layout_elements[open_idx].id
1084 }
1085
1086 pub fn get_parent_element_id(&self) -> u32 {
1087 let stack_len = self.open_layout_element_stack.len();

Callers 1

childrenMethod · 0.80

Calls 1

Tested by

no test coverage detected