Struct twizzler_abi::syscall::NanoSeconds
source · #[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<NanoSeconds> for NanoSeconds
impl PartialEq<NanoSeconds> for NanoSeconds
source§fn eq(&self, other: &NanoSeconds) -> bool
fn eq(&self, other: &NanoSeconds) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<NanoSeconds> for FemtoSeconds
impl TryFrom<NanoSeconds> for FemtoSeconds
§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 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