Struct serpente::time::Nanoseconds
source · pub struct Nanoseconds(pub u32);
Expand description
Nanoseconds
Tuple Fields§
§0: u32
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<Hertz> for Nanoseconds
impl From<Hertz> for Nanoseconds
source§fn from(item: Hertz) -> Nanoseconds
fn from(item: Hertz) -> Nanoseconds
Converts to this type from the input type.
source§impl From<KiloHertz> for Nanoseconds
impl From<KiloHertz> for Nanoseconds
source§fn from(item: KiloHertz) -> Nanoseconds
fn from(item: KiloHertz) -> Nanoseconds
Converts to this type from the input type.
source§impl From<MegaHertz> for Nanoseconds
impl From<MegaHertz> for Nanoseconds
source§fn from(item: MegaHertz) -> Nanoseconds
fn from(item: MegaHertz) -> Nanoseconds
Converts to this type from the input type.
source§impl From<Microseconds> for Nanoseconds
impl From<Microseconds> for Nanoseconds
source§fn from(item: Microseconds) -> Nanoseconds
fn from(item: Microseconds) -> Nanoseconds
Converts to this type from the input type.
source§impl From<Milliseconds> for Nanoseconds
impl From<Milliseconds> for Nanoseconds
source§fn from(item: Milliseconds) -> Nanoseconds
fn from(item: Milliseconds) -> Nanoseconds
Converts to this type from the input type.
source§impl From<Nanoseconds> for Hertz
impl From<Nanoseconds> for Hertz
source§fn from(item: Nanoseconds) -> Hertz
fn from(item: Nanoseconds) -> Hertz
Converts to this type from the input type.
source§impl From<Nanoseconds> for KiloHertz
impl From<Nanoseconds> for KiloHertz
source§fn from(item: Nanoseconds) -> KiloHertz
fn from(item: Nanoseconds) -> KiloHertz
Converts to this type from the input type.
source§impl From<Nanoseconds> for MegaHertz
impl From<Nanoseconds> for MegaHertz
source§fn from(item: Nanoseconds) -> MegaHertz
fn from(item: Nanoseconds) -> MegaHertz
Converts to this type from the input type.
source§impl From<Seconds> for Nanoseconds
impl From<Seconds> for Nanoseconds
source§fn from(item: Seconds) -> Nanoseconds
fn from(item: Seconds) -> Nanoseconds
Converts to this type from the input type.
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 ==
.impl Copy for Nanoseconds
impl Eq for Nanoseconds
impl StructuralEq for Nanoseconds
impl StructuralPartialEq for Nanoseconds
Auto Trait Implementations§
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