Struct gd32f1x0_hal::time::MicroSeconds
source · [−]pub struct MicroSeconds(pub u32);
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 From<MicroSeconds> for Hertz
impl From<MicroSeconds> for Hertz
sourcefn from(microseconds: MicroSeconds) -> Self
fn from(microseconds: MicroSeconds) -> Self
Converts to this type from the input type.
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 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