#[repr(C)]pub enum Sleep {
Ticks(u64),
Until(u64),
}Variants§
Trait Implementations§
impl Eq for Sleep
Source§impl Ord for Sleep
impl Ord for Sleep
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
Source§impl PartialOrd for Sleep
impl PartialOrd for Sleep
impl StructuralPartialEq for Sleep
Auto Trait Implementations§
impl Freeze for Sleep
impl RefUnwindSafe for Sleep
impl Send for Sleep
impl Sync for Sleep
impl Unpin for Sleep
impl UnsafeUnpin for Sleep
impl UnwindSafe for Sleep
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