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