Struct esp8266_hal::time::Microseconds
source · [−]pub struct Microseconds(pub u32);
Expand description
Microseconds
Tuple Fields
0: u32
Trait Implementations
sourceimpl Clone for Microseconds
impl Clone for Microseconds
sourcefn clone(&self) -> Microseconds
fn clone(&self) -> Microseconds
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 Microseconds
impl Debug for Microseconds
sourceimpl From<Hertz> for Microseconds
impl From<Hertz> for Microseconds
sourcefn from(from: Hertz) -> Microseconds
fn from(from: Hertz) -> Microseconds
Converts to this type from the input type.
sourceimpl From<Microseconds> for Hertz
impl From<Microseconds> for Hertz
sourcefn from(from: Microseconds) -> Hertz
fn from(from: Microseconds) -> Hertz
Converts to this type from the input type.
sourceimpl From<Microseconds> for Milliseconds
impl From<Microseconds> for Milliseconds
sourcefn from(from: Microseconds) -> Milliseconds
fn from(from: Microseconds) -> Milliseconds
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<Microseconds> for Seconds
impl From<Microseconds> for Seconds
sourcefn from(from: Microseconds) -> Seconds
fn from(from: Microseconds) -> Seconds
Converts to this type from the input type.
sourceimpl From<Milliseconds> for Microseconds
impl From<Milliseconds> for Microseconds
sourcefn from(from: Milliseconds) -> Microseconds
fn from(from: Milliseconds) -> Microseconds
Converts to this type from the input type.
sourceimpl From<Seconds> for Microseconds
impl From<Seconds> for Microseconds
sourcefn from(from: Seconds) -> Microseconds
fn from(from: Seconds) -> Microseconds
Converts to this type from the input type.
sourceimpl Ord for Microseconds
impl Ord for Microseconds
sourceimpl PartialEq<Microseconds> for Microseconds
impl PartialEq<Microseconds> for Microseconds
sourcefn eq(&self, other: &Microseconds) -> bool
fn eq(&self, other: &Microseconds) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Microseconds) -> bool
fn ne(&self, other: &Microseconds) -> bool
This method tests for !=
.
sourceimpl PartialOrd<Microseconds> for Microseconds
impl PartialOrd<Microseconds> for Microseconds
sourcefn partial_cmp(&self, other: &Microseconds) -> Option<Ordering>
fn partial_cmp(&self, other: &Microseconds) -> 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 Microseconds
impl Eq for Microseconds
impl StructuralEq for Microseconds
impl StructuralPartialEq for Microseconds
Auto Trait Implementations
impl RefUnwindSafe for Microseconds
impl Send for Microseconds
impl Sync for Microseconds
impl Unpin for Microseconds
impl UnwindSafe for Microseconds
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