Enum stm32_metapac::comp::vals::Winout
#[repr(u8)]pub enum Winout {
COMP1_VALUE = 0,
COMP1_VALUEXORCOMP2_VALUE = 1,
}
Variants§
COMP1_VALUE = 0
Comparator 1 value.
COMP1_VALUEXORCOMP2_VALUE = 1
Comparator 1 value XOR comparator 2 value (required for window mode).
Implementations§
Trait Implementations§
§impl Ord for Winout
impl Ord for Winout
§impl PartialOrd for Winout
impl PartialOrd for Winout
§fn partial_cmp(&self, other: &Winout) -> Option<Ordering>
fn partial_cmp(&self, other: &Winout) -> 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 Winout
impl Eq for Winout
impl StructuralEq for Winout
impl StructuralPartialEq for Winout
Auto Trait Implementations§
impl RefUnwindSafe for Winout
impl Send for Winout
impl Sync for Winout
impl Unpin for Winout
impl UnwindSafe for Winout
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