Enum stm32_metapac::comp::vals::Winmode
#[repr(u8)]pub enum Winmode {
THISINPSEL = 0,
OTHERINPSEL = 1,
}
Variants§
THISINPSEL = 0
Signal selected with INPSEL[2:0] bitfield of this register.
OTHERINPSEL = 1
Signal selected with INPSEL[2:0] bitfield of the other register (required for window mode).
Implementations§
Trait Implementations§
§impl Ord for Winmode
impl Ord for Winmode
§impl PartialOrd for Winmode
impl PartialOrd for Winmode
§fn partial_cmp(&self, other: &Winmode) -> Option<Ordering>
fn partial_cmp(&self, other: &Winmode) -> 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 Winmode
impl Eq for Winmode
impl StructuralEq for Winmode
impl StructuralPartialEq for Winmode
Auto Trait Implementations§
impl RefUnwindSafe for Winmode
impl Send for Winmode
impl Sync for Winmode
impl Unpin for Winmode
impl UnwindSafe for Winmode
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