Enum stm32_metapac::comp::vals::WindowOut
#[repr(u8)]pub enum WindowOut {
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 WindowOut
impl Ord for WindowOut
§impl PartialOrd for WindowOut
impl PartialOrd for WindowOut
§fn partial_cmp(&self, other: &WindowOut) -> Option<Ordering>
fn partial_cmp(&self, other: &WindowOut) -> 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 WindowOut
impl Eq for WindowOut
impl StructuralEq for WindowOut
impl StructuralPartialEq for WindowOut
Auto Trait Implementations§
impl RefUnwindSafe for WindowOut
impl Send for WindowOut
impl Sync for WindowOut
impl Unpin for WindowOut
impl UnwindSafe for WindowOut
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