#[repr(transparent)]pub struct NanoSeconds(pub u64);
Tuple Fields§
§0: u64
Trait Implementations§
source§impl Clone for NanoSeconds
impl Clone for NanoSeconds
source§fn clone(&self) -> NanoSeconds
fn clone(&self) -> NanoSeconds
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 NanoSeconds
impl Debug for NanoSeconds
source§impl From<FemtoSeconds> for NanoSeconds
impl From<FemtoSeconds> for NanoSeconds
source§fn from(unit: FemtoSeconds) -> Self
fn from(unit: FemtoSeconds) -> Self
Converts to this type from the input type.
source§impl Mul<NanoSeconds> for u64
impl Mul<NanoSeconds> for u64
source§impl Mul<u64> for NanoSeconds
impl Mul<u64> for NanoSeconds
source§impl PartialEq for NanoSeconds
impl PartialEq for NanoSeconds
source§impl TryFrom<NanoSeconds> for FemtoSeconds
impl TryFrom<NanoSeconds> for FemtoSeconds
source§type Error = TimeUnitError
type Error = TimeUnitError
The type returned in the event of a conversion error.
impl Copy for NanoSeconds
impl StructuralPartialEq for NanoSeconds
Auto Trait Implementations§
impl Freeze for NanoSeconds
impl ObjSafe 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
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
)