#[repr(C)]pub enum Sleep {
Ticks(u64),
Until(u64),
}
Variants§
Trait Implementations§
Source§impl Ord for Sleep
impl Ord for Sleep
Source§impl PartialOrd for Sleep
impl PartialOrd for Sleep
impl Eq 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 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