Returns the internal u32 id of the currently open element.
(&self)
| 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(); |
no test coverage detected