Struct sdl2::timer::Timer [] [src]

pub struct Timer<'b, 'a> {
    // some fields omitted
}

Methods

impl<'b, 'a> Timer<'b, 'a>

fn into_inner(self) -> TimerCallback<'a>

Returns the closure as a trait-object and cancels the timer by consuming it...

Trait Implementations

impl<'b, 'a> Drop for Timer<'b, 'a>

fn drop(&mut self)