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