pub struct DurNs(pub u64);Expand description
A duration in nanoseconds.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for DurNs
impl Eq for DurNs
Source§impl Ord for DurNs
impl Ord for DurNs
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 PartialOrd for DurNs
impl PartialOrd for DurNs
impl StructuralPartialEq for DurNs
Auto Trait Implementations§
impl Forget for DurNs
impl Freeze for DurNs
impl Move for DurNs
impl RefUnwindSafe for DurNs
impl Send for DurNs
impl Sync for DurNs
impl Unpin for DurNs
impl UnsafeUnpin for DurNs
impl UnwindSafe for DurNs
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