Trait input::AfterRenderEvent
[−]
[src]
pub trait AfterRenderEvent: Sized { fn from_after_render_args(
args: &AfterRenderArgs,
old_event: &Self
) -> Option<Self>; fn after_render<U, F>(&self, f: F) -> Option<U>
where
F: FnMut(&AfterRenderArgs) -> U; fn after_render_args(&self) -> Option<AfterRenderArgs> { ... } }
After rendering and buffers are swapped.
Required Methods
fn from_after_render_args(
args: &AfterRenderArgs,
old_event: &Self
) -> Option<Self>
args: &AfterRenderArgs,
old_event: &Self
) -> Option<Self>
Creates an after render event.
fn after_render<U, F>(&self, f: F) -> Option<U> where
F: FnMut(&AfterRenderArgs) -> U,
F: FnMut(&AfterRenderArgs) -> U,
Calls closure if this is an after render event.
Provided Methods
fn after_render_args(&self) -> Option<AfterRenderArgs>
Returns after render arguments.
Implementors
impl AfterRenderEvent for Input