pub struct Nanoseconds;
Expand description
Nanoseconds, i.e. 10^-9 seconds
Trait Implementations§
Source§impl Clone for Nanoseconds
impl Clone for Nanoseconds
Source§fn clone(&self) -> Nanoseconds
fn clone(&self) -> Nanoseconds
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 Nanoseconds
impl Debug for Nanoseconds
Source§impl Hash for Nanoseconds
impl Hash for Nanoseconds
Source§impl Ord for Nanoseconds
impl Ord for Nanoseconds
Source§fn cmp(&self, other: &Nanoseconds) -> Ordering
fn cmp(&self, other: &Nanoseconds) -> Ordering
1.21.0 · 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 PartialEq for Nanoseconds
impl PartialEq for Nanoseconds
Source§impl PartialOrd for Nanoseconds
impl PartialOrd for Nanoseconds
Source§impl Unit for Nanoseconds
impl Unit for Nanoseconds
Source§const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ns
const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ns
The matching NumPy datetime unit code
impl Copy for Nanoseconds
impl Eq for Nanoseconds
impl StructuralPartialEq for Nanoseconds
Auto Trait Implementations§
impl Freeze for Nanoseconds
impl RefUnwindSafe for Nanoseconds
impl Send for Nanoseconds
impl Sync for Nanoseconds
impl Unpin for Nanoseconds
impl UnwindSafe for Nanoseconds
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