pub struct Timer { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Boxed for Timer
impl Boxed for Timer
source§impl TimerTrait for Timer
impl TimerTrait for Timer
source§impl TimerTraitConst for Timer
impl TimerTraitConst for Timer
fn as_raw_Timer(&self) -> *const c_void
fn duration_ns(&self) -> Result<u64>
impl Send for Timer
Auto Trait Implementations§
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