Struct esp8266_hal::time::Seconds
source · [−]pub struct Seconds(pub u32);
Expand description
Seconds
Tuple Fields
0: u32
Trait Implementations
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 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<Seconds> for (StageTimeout, StageTimeout)
impl From<Seconds> for (StageTimeout, StageTimeout)
sourcefn from(s: Seconds) -> (StageTimeout, StageTimeout)
fn from(s: Seconds) -> (StageTimeout, StageTimeout)
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 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<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 Seconds
impl Ord for Seconds
sourceimpl PartialOrd<Seconds> for Seconds
impl PartialOrd<Seconds> for Seconds
sourcefn partial_cmp(&self, other: &Seconds) -> Option<Ordering>
fn partial_cmp(&self, other: &Seconds) -> 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 Seconds
impl Eq for Seconds
impl StructuralEq for Seconds
impl StructuralPartialEq for Seconds
Auto Trait Implementations
impl RefUnwindSafe for Seconds
impl Send for Seconds
impl Sync for Seconds
impl Unpin for Seconds
impl UnwindSafe for Seconds
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