Enum stm32_metapac::pwr::vals::Wp
#[repr(u8)]pub enum Wp {
RISINGEDGE = 0,
FALLINGEDGE = 1,
}
Variants§
RISINGEDGE = 0
Detection on high level (rising edge)
FALLINGEDGE = 1
Detection on low level (falling edge)
Implementations§
Trait Implementations§
§impl Ord for Wp
impl Ord for Wp
§impl PartialOrd for Wp
impl PartialOrd for Wp
§fn partial_cmp(&self, other: &Wp) -> Option<Ordering>
fn partial_cmp(&self, other: &Wp) -> 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 Wp
impl Eq for Wp
impl StructuralEq for Wp
impl StructuralPartialEq for Wp
Auto Trait Implementations§
impl RefUnwindSafe for Wp
impl Send for Wp
impl Sync for Wp
impl Unpin for Wp
impl UnwindSafe for Wp
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