pub enum UnbiasedInterruptTime {}Expand description
Unbiased interrupt time: interrupt time without the time spent asleep or hibernating.
Its points do not compare with InterruptTime’s, which share its unit but, after the first
sleep, not its zero:
ⓘ
use win_time_sys::{Clock, InterruptClock, UnbiasedInterruptClock};
let _ = InterruptClock.now() < UnbiasedInterruptClock.now();Trait Implementations§
Source§impl Timeline for UnbiasedInterruptTime
impl Timeline for UnbiasedInterruptTime
Source§fn ticks_per_second() -> NonZeroU64
fn ticks_per_second() -> NonZeroU64
How many ticks make one second. It must not change for the life of the process.
Auto Trait Implementations§
impl Freeze for UnbiasedInterruptTime
impl RefUnwindSafe for UnbiasedInterruptTime
impl Send for UnbiasedInterruptTime
impl Sync for UnbiasedInterruptTime
impl Unpin for UnbiasedInterruptTime
impl UnsafeUnpin for UnbiasedInterruptTime
impl UnwindSafe for UnbiasedInterruptTime
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