pub struct Nanosecond;Expand description
Nanoseconds (1 ns = 10^-9 s).
Trait Implementations§
Source§impl Clone for Nanosecond
impl Clone for Nanosecond
Source§fn clone(&self) -> Nanosecond
fn clone(&self) -> Nanosecond
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Nanosecond
impl Debug for Nanosecond
Source§impl PartialEq for Nanosecond
impl PartialEq for Nanosecond
Source§impl PartialOrd for Nanosecond
impl PartialOrd for Nanosecond
Source§impl Unit for Nanosecond
impl Unit for Nanosecond
impl Copy for Nanosecond
impl StructuralPartialEq for Nanosecond
Auto Trait Implementations§
impl Freeze for Nanosecond
impl RefUnwindSafe for Nanosecond
impl Send for Nanosecond
impl Sync for Nanosecond
impl Unpin for Nanosecond
impl UnwindSafe for Nanosecond
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