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
impl Copy for Wp
impl Eq for Wp
impl StructuralPartialEq for Wp
Auto Trait Implementations§
impl Freeze for Wp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)