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