MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / handle_event

Method handle_event

src/components/view.rs:75–79  ·  view source on GitHub ↗
(&mut self, event: Event)

Source from the content-addressed store, hash-verified

73 }
74
75 fn handle_event(&mut self, event: Event) {
76 for child in &mut self.children {
77 child.handle_event(event.clone());
78 }
79 }
80
81 fn bounds(&self) -> Rect {
82 self.bounds.clone()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected