#[repr(transparent)]pub struct InstantMillis(pub u64);Tuple Fields§
§0: u64Implementations§
Source§impl InstantMillis
impl InstantMillis
pub const fn saturating_add(self, elapsed: DurationMillis) -> InstantMillis
pub const fn duration_since(self, earlier: InstantMillis) -> DurationMillis
Trait Implementations§
Source§impl Clone for InstantMillis
impl Clone for InstantMillis
Source§fn clone(&self) -> InstantMillis
fn clone(&self) -> InstantMillis
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InstantMillis
Source§impl Debug for InstantMillis
impl Debug for InstantMillis
impl Eq for InstantMillis
Source§impl Hash for InstantMillis
impl Hash for InstantMillis
Source§impl Ord for InstantMillis
impl Ord for InstantMillis
Source§fn cmp(&self, other: &InstantMillis) -> Ordering
fn cmp(&self, other: &InstantMillis) -> Ordering
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
Source§impl PartialEq for InstantMillis
impl PartialEq for InstantMillis
Source§impl PartialOrd for InstantMillis
impl PartialOrd for InstantMillis
impl StructuralPartialEq for InstantMillis
Auto Trait Implementations§
impl Freeze for InstantMillis
impl RefUnwindSafe for InstantMillis
impl Send for InstantMillis
impl Sync for InstantMillis
impl Unpin for InstantMillis
impl UnsafeUnpin for InstantMillis
impl UnwindSafe for InstantMillis
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