pub struct Attoseconds;
Expand description
Attoseconds, i.e. 10^-18 seconds
Trait Implementations§
Source§impl Clone for Attoseconds
impl Clone for Attoseconds
Source§fn clone(&self) -> Attoseconds
fn clone(&self) -> Attoseconds
Returns a copy 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 Attoseconds
impl Debug for Attoseconds
Source§impl Hash for Attoseconds
impl Hash for Attoseconds
Source§impl Ord for Attoseconds
impl Ord for Attoseconds
Source§fn cmp(&self, other: &Attoseconds) -> Ordering
fn cmp(&self, other: &Attoseconds) -> 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 Attoseconds
impl PartialEq for Attoseconds
Source§impl PartialOrd for Attoseconds
impl PartialOrd for Attoseconds
Source§impl Unit for Attoseconds
impl Unit for Attoseconds
Source§const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_as
const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_as
The matching NumPy datetime unit code
impl Copy for Attoseconds
impl Eq for Attoseconds
impl StructuralPartialEq for Attoseconds
Auto Trait Implementations§
impl Freeze for Attoseconds
impl RefUnwindSafe for Attoseconds
impl Send for Attoseconds
impl Sync for Attoseconds
impl Unpin for Attoseconds
impl UnwindSafe for Attoseconds
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.