#[repr(transparent)]pub struct InstantMono(pub i64);Expand description
Monotonic timeline instant in nanoseconds.
Tuple Fields§
§0: i64Trait Implementations§
Source§impl Add<i64> for InstantMono
impl Add<i64> for InstantMono
Source§impl Clone for InstantMono
impl Clone for InstantMono
Source§fn clone(&self) -> InstantMono
fn clone(&self) -> InstantMono
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InstantMono
Source§impl Debug for InstantMono
impl Debug for InstantMono
Source§impl Default for InstantMono
impl Default for InstantMono
Source§fn default() -> InstantMono
fn default() -> InstantMono
Returns the “default value” for a type. Read more
impl Eq for InstantMono
Source§impl Hash for InstantMono
impl Hash for InstantMono
Source§impl Ord for InstantMono
impl Ord for InstantMono
Source§fn cmp(&self, other: &InstantMono) -> Ordering
fn cmp(&self, other: &InstantMono) -> Ordering
1.21.0 (const: unstable)§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 InstantMono
impl PartialEq for InstantMono
Source§impl PartialOrd for InstantMono
impl PartialOrd for InstantMono
impl StructuralPartialEq for InstantMono
Auto Trait Implementations§
impl Freeze for InstantMono
impl RefUnwindSafe for InstantMono
impl Send for InstantMono
impl Sync for InstantMono
impl Unpin for InstantMono
impl UnsafeUnpin for InstantMono
impl UnwindSafe for InstantMono
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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)