pub struct TimerResult { /* private fields */ }Expand description
Timer result
Implementations§
Source§impl TimerResult
impl TimerResult
Sourcepub fn milliseconds(&self) -> i64
pub fn milliseconds(&self) -> i64
Get duration in milliseconds
Sourcepub fn microseconds(&self) -> i64
pub fn microseconds(&self) -> i64
Get duration in microseconds
Auto Trait Implementations§
impl Freeze for TimerResult
impl RefUnwindSafe for TimerResult
impl Send for TimerResult
impl Sync for TimerResult
impl Unpin for TimerResult
impl UnsafeUnpin for TimerResult
impl UnwindSafe for TimerResult
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