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

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

Methods

impl<'b, 'a> Timer<'b, 'a>
[src]

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>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more