Structs§
Functions§
- run
- Runs a component. Each frame the given component is rendered by invoking its
rendermethod, and aEvent::Tickevent is passed to the component’supdatemethod set to the time since the previous frame. Each time an input event is received anEvent::Inputevent is passed to the component’supdatemethod. When the component yieldsSome(app::Exit), the program will exit.