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

Method just_released

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

Source from the content-addressed store, hash-verified

5740 }
5741
5742 pub fn just_released(&self) -> bool {
5743 if self.released_this_frame_generation != self.generation {
5744 return false;
5745 }
5746
5747 let open_idx = self.get_open_layout_element();
5748 let elem_id = self.layout_elements[open_idx].id;
5749 self.released_this_frame_ids
5750 .iter()
5751 .any(|eid| eid.id == elem_id)
5752 }
5753
5754 pub fn set_press_callbacks(
5755 &mut self,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected