Struct sdl2::timer::Timer[src]

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

Methods

impl<'a> Timer<'a>

fn new<'a>(delay: uint, callback: ||: 'a -> uint, remove_on_drop: bool) -> Timer<'a>

fn start(&mut self)

fn remove(&mut self) -> bool

Trait Implementations

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

fn drop(&mut self)