pub struct Timer<const S: bool>{ /* private fields */ }Expand description
A basic timer that supports start, elapsed, and elapsed_and_update
Implementations§
Trait Implementations§
impl<const S: bool> Copy for Timer<S>
Auto Trait Implementations§
impl<const S: bool> !Freeze for Timer<S>
impl<const S: bool> !RefUnwindSafe for Timer<S>
impl<const S: bool> !Send for Timer<S>
impl<const S: bool> !Sync for Timer<S>
impl<const S: bool> !Unpin for Timer<S>
impl<const S: bool> !UnwindSafe for Timer<S>
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