Struct rich_sdl2_rust::Timer
source · pub struct Timer<'sdl, T> { /* private fields */ }
Expand description
A timer invokes a TimerCallback
with the interval.
Implementations§
source§impl<'sdl, 'callback, T: TimerCallback<'callback>> Timer<'sdl, T>
impl<'sdl, 'callback, T: TimerCallback<'callback>> Timer<'sdl, T>
Trait Implementations§
Auto Trait Implementations§
impl<'sdl, T> !RefUnwindSafe for Timer<'sdl, T>
impl<'sdl, T> !Send for Timer<'sdl, T>
impl<'sdl, T> !Sync for Timer<'sdl, T>
impl<'sdl, T> Unpin for Timer<'sdl, T>where
T: Unpin,
impl<'sdl, T> !UnwindSafe for Timer<'sdl, T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more