Enum stm32_metapac::hrtim::vals::Pol
#[repr(u8)]pub enum Pol {
ACTIVEHIGH = 0,
ACTIVELOW = 1,
}
Variants§
ACTIVEHIGH = 0
Positive polarity (output active high)
ACTIVELOW = 1
Negative polarity (output active low)
Implementations§
Trait Implementations§
§impl Ord for Pol
impl Ord for Pol
§impl PartialOrd for Pol
impl PartialOrd for Pol
§fn partial_cmp(&self, other: &Pol) -> Option<Ordering>
fn partial_cmp(&self, other: &Pol) -> 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 Pol
impl Eq for Pol
impl StructuralEq for Pol
impl StructuralPartialEq for Pol
Auto Trait Implementations§
impl RefUnwindSafe for Pol
impl Send for Pol
impl Sync for Pol
impl Unpin for Pol
impl UnwindSafe for Pol
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