#[repr(transparent)]pub struct FemtoSeconds(pub u64);
Tuple Fields§
§0: u64
Trait Implementations§
source§impl Clone for FemtoSeconds
impl Clone for FemtoSeconds
source§fn clone(&self) -> FemtoSeconds
fn clone(&self) -> FemtoSeconds
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 FemtoSeconds
impl Debug for FemtoSeconds
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 From<FemtoSeconds> for Seconds
impl From<FemtoSeconds> for Seconds
source§fn from(unit: FemtoSeconds) -> Self
fn from(unit: FemtoSeconds) -> Self
Converts to this type from the input type.
source§impl Mul<FemtoSeconds> for u64
impl Mul<FemtoSeconds> for u64
source§impl Mul<u64> for FemtoSeconds
impl Mul<u64> for FemtoSeconds
source§impl PartialEq for FemtoSeconds
impl PartialEq for FemtoSeconds
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.
source§impl TryFrom<Seconds> for FemtoSeconds
impl TryFrom<Seconds> for FemtoSeconds
impl Copy for FemtoSeconds
impl StructuralPartialEq for FemtoSeconds
Auto Trait Implementations§
impl Freeze for FemtoSeconds
impl ObjSafe for FemtoSeconds
impl RefUnwindSafe for FemtoSeconds
impl Send for FemtoSeconds
impl Sync for FemtoSeconds
impl Unpin for FemtoSeconds
impl UnwindSafe for FemtoSeconds
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
)