pub struct Millis(pub u32);Expand description
A Duration type to represent a span of time.
This type is designed for timeouts. Milliseconds resolution is too small to keep generic time.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Ord for Millis
impl Ord for Millis
Source§impl PartialOrd for Millis
impl PartialOrd for Millis
impl Copy for Millis
impl Eq for Millis
impl StructuralPartialEq for Millis
Auto Trait Implementations§
impl Freeze for Millis
impl RefUnwindSafe for Millis
impl Send for Millis
impl Sync for Millis
impl Unpin for Millis
impl UnwindSafe for Millis
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)