[−][src]Trait input::RenderEvent
When the next frame should be rendered.
Required methods
fn from_render_args(args: &RenderArgs, old_event: &Self) -> Option<Self>
Creates a render event.
fn render<U, F>(&self, f: F) -> Option<U> where
F: FnMut(&RenderArgs) -> U,
F: FnMut(&RenderArgs) -> U,
Calls closure if this is a render event.
Provided methods
fn render_args(&self) -> Option<RenderArgs>
Returns render arguments.
Implementors
impl RenderEvent for Event
[src]
fn from_render_args(args: &RenderArgs, _old_event: &Self) -> Option<Self>
[src]
fn render<U, F>(&self, f: F) -> Option<U> where
F: FnMut(&RenderArgs) -> U,
[src]
F: FnMut(&RenderArgs) -> U,