Struct esp8266_hal::time::Nanoseconds
source · [−]pub struct Nanoseconds(pub u32);
Expand description
Nanoseconds
Tuple Fields
0: u32
Trait Implementations
sourceimpl Clone for Nanoseconds
impl Clone for Nanoseconds
sourcefn clone(&self) -> Nanoseconds
fn clone(&self) -> Nanoseconds
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Nanoseconds
impl Debug for Nanoseconds
sourceimpl From<Hertz> for Nanoseconds
impl From<Hertz> for Nanoseconds
sourcefn from(from: Hertz) -> Nanoseconds
fn from(from: Hertz) -> Nanoseconds
Converts to this type from the input type.
sourceimpl From<KiloHertz> for Nanoseconds
impl From<KiloHertz> for Nanoseconds
sourcefn from(from: KiloHertz) -> Nanoseconds
fn from(from: KiloHertz) -> Nanoseconds
Converts to this type from the input type.
sourceimpl From<MegaHertz> for Nanoseconds
impl From<MegaHertz> for Nanoseconds
sourcefn from(from: MegaHertz) -> Nanoseconds
fn from(from: MegaHertz) -> Nanoseconds
Converts to this type from the input type.
sourceimpl From<Microseconds> for Nanoseconds
impl From<Microseconds> for Nanoseconds
sourcefn from(from: Microseconds) -> Nanoseconds
fn from(from: Microseconds) -> Nanoseconds
Converts to this type from the input type.
sourceimpl From<Milliseconds> for Nanoseconds
impl From<Milliseconds> for Nanoseconds
sourcefn from(from: Milliseconds) -> Nanoseconds
fn from(from: Milliseconds) -> Nanoseconds
Converts to this type from the input type.
sourceimpl From<Nanoseconds> for Hertz
impl From<Nanoseconds> for Hertz
sourcefn from(from: Nanoseconds) -> Hertz
fn from(from: Nanoseconds) -> Hertz
Converts to this type from the input type.
sourceimpl From<Nanoseconds> for KiloHertz
impl From<Nanoseconds> for KiloHertz
sourcefn from(from: Nanoseconds) -> KiloHertz
fn from(from: Nanoseconds) -> KiloHertz
Converts to this type from the input type.
sourceimpl From<Nanoseconds> for MegaHertz
impl From<Nanoseconds> for MegaHertz
sourcefn from(from: Nanoseconds) -> MegaHertz
fn from(from: Nanoseconds) -> MegaHertz
Converts to this type from the input type.
sourceimpl From<Seconds> for Nanoseconds
impl From<Seconds> for Nanoseconds
sourcefn from(from: Seconds) -> Nanoseconds
fn from(from: Seconds) -> Nanoseconds
Converts to this type from the input type.
sourceimpl Ord for Nanoseconds
impl Ord for Nanoseconds
sourceimpl PartialEq<Nanoseconds> for Nanoseconds
impl PartialEq<Nanoseconds> for Nanoseconds
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &Nanoseconds) -> bool
fn ne(&self, other: &Nanoseconds) -> bool
This method tests for !=
.
sourceimpl PartialOrd<Nanoseconds> for Nanoseconds
impl PartialOrd<Nanoseconds> for Nanoseconds
sourcefn partial_cmp(&self, other: &Nanoseconds) -> Option<Ordering>
fn partial_cmp(&self, other: &Nanoseconds) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more