[][src]Trait input::AfterRenderEvent

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>

Creates an after render event.

fn after_render<U, F>(&self, f: F) -> Option<U> where
    F: FnMut(&AfterRenderArgs) -> U, 

Calls closure if this is an after render event.

Loading content...

Provided methods

fn after_render_args(&self) -> Option<AfterRenderArgs>

Returns after render arguments.

Loading content...

Implementors

impl AfterRenderEvent for Event[src]

Loading content...