pub struct Microseconds(/* private fields */);
Trait Implementations§
source§impl Clone for Microseconds
impl Clone for Microseconds
source§fn clone(&self) -> Microseconds
fn clone(&self) -> Microseconds
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 Microseconds
impl Debug for Microseconds
source§impl Default for Microseconds
impl Default for Microseconds
source§fn default() -> Microseconds
fn default() -> Microseconds
Returns the “default value” for a type. Read more
source§impl From<Microseconds> for Duration
impl From<Microseconds> for Duration
source§fn from(m: Microseconds) -> Self
fn from(m: Microseconds) -> Self
Converts to this type from the input type.
source§impl Hash for Microseconds
impl Hash for Microseconds
source§impl Ord for Microseconds
impl Ord for Microseconds
source§fn cmp(&self, other: &Microseconds) -> Ordering
fn cmp(&self, other: &Microseconds) -> 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 Microseconds
impl PartialEq for Microseconds
source§impl PartialOrd for Microseconds
impl PartialOrd for Microseconds
impl Copy for Microseconds
impl Eq for Microseconds
impl StructuralPartialEq for Microseconds
Auto Trait Implementations§
impl Freeze for Microseconds
impl RefUnwindSafe for Microseconds
impl Send for Microseconds
impl Sync for Microseconds
impl Unpin for Microseconds
impl UnwindSafe for Microseconds
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)