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