pub enum WakePrecision {
Nanosecond,
Microsecond,
Millisecond,
Second,
}Variants§
Implementations§
Source§impl WakePrecision
impl WakePrecision
pub const fn nanoseconds_per_tick(self) -> NonZeroU64
Trait Implementations§
Source§impl Clone for WakePrecision
impl Clone for WakePrecision
impl Copy for WakePrecision
Source§impl Debug for WakePrecision
impl Debug for WakePrecision
impl Eq for WakePrecision
Source§impl Hash for WakePrecision
impl Hash for WakePrecision
Source§impl Ord for WakePrecision
impl Ord for WakePrecision
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WakePrecision
impl PartialEq for WakePrecision
Source§impl PartialOrd for WakePrecision
impl PartialOrd for WakePrecision
impl StructuralPartialEq for WakePrecision
Auto Trait Implementations§
impl Freeze for WakePrecision
impl RefUnwindSafe for WakePrecision
impl Send for WakePrecision
impl Sync for WakePrecision
impl Unpin for WakePrecision
impl UnsafeUnpin for WakePrecision
impl UnwindSafe for WakePrecision
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