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

Method get_open_layout_element

src/engine.rs:1075–1078  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1073 }
1074
1075 fn get_open_layout_element(&self) -> usize {
1076 let idx = *self.open_layout_element_stack.last().unwrap();
1077 idx as usize
1078 }
1079
1080 /// Returns the internal u32 id of the currently open element.
1081 pub fn get_open_element_id(&self) -> u32 {

Callers 15

get_open_element_idMethod · 0.80
attach_element_configMethod · 0.80
close_elementMethod · 0.80
open_text_elementMethod · 0.80
hoveredMethod · 0.80
on_hoverMethod · 0.80
pressedMethod · 0.80
just_pressedMethod · 0.80
just_releasedMethod · 0.80
set_press_callbacksMethod · 0.80
focusedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected