Enum stm32_metapac::hrtim::vals::TimaisrDlyprt
#[repr(u8)]pub enum TimaisrDlyprt {
INACTIVE = 0,
ACTIVE = 1,
}
Variants§
INACTIVE = 0
Not in delayed idle or balanced idle mode
ACTIVE = 1
Delayed idle or balanced idle mode entry
Implementations§
§impl TimaisrDlyprt
impl TimaisrDlyprt
pub const fn from_bits(val: u8) -> TimaisrDlyprt
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for TimaisrDlyprt
impl Clone for TimaisrDlyprt
§fn clone(&self) -> TimaisrDlyprt
fn clone(&self) -> TimaisrDlyprt
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<TimaisrDlyprt> for u8
impl From<TimaisrDlyprt> for u8
§fn from(val: TimaisrDlyprt) -> u8
fn from(val: TimaisrDlyprt) -> u8
Converts to this type from the input type.
§impl From<u8> for TimaisrDlyprt
impl From<u8> for TimaisrDlyprt
§fn from(val: u8) -> TimaisrDlyprt
fn from(val: u8) -> TimaisrDlyprt
Converts to this type from the input type.
§impl Ord for TimaisrDlyprt
impl Ord for TimaisrDlyprt
§impl PartialEq for TimaisrDlyprt
impl PartialEq for TimaisrDlyprt
§fn eq(&self, other: &TimaisrDlyprt) -> bool
fn eq(&self, other: &TimaisrDlyprt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for TimaisrDlyprt
impl PartialOrd for TimaisrDlyprt
§fn partial_cmp(&self, other: &TimaisrDlyprt) -> Option<Ordering>
fn partial_cmp(&self, other: &TimaisrDlyprt) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for TimaisrDlyprt
impl Eq for TimaisrDlyprt
impl StructuralEq for TimaisrDlyprt
impl StructuralPartialEq for TimaisrDlyprt
Auto Trait Implementations§
impl RefUnwindSafe for TimaisrDlyprt
impl Send for TimaisrDlyprt
impl Sync for TimaisrDlyprt
impl Unpin for TimaisrDlyprt
impl UnwindSafe for TimaisrDlyprt
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more