pub enum WakeupLevel {
Low,
High,
}
Available on crate feature
unstable
only.Expand description
Level at which a wake-up event is triggered
Variants§
Low
The wake-up event is triggered when the pin is low.
High
The wake-up event is triggered when the pin is high.
Trait Implementations§
Source§impl Clone for WakeupLevel
impl Clone for WakeupLevel
Source§fn clone(&self) -> WakeupLevel
fn clone(&self) -> WakeupLevel
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WakeupLevel
impl Debug for WakeupLevel
Source§impl Default for WakeupLevel
impl Default for WakeupLevel
Source§fn default() -> WakeupLevel
fn default() -> WakeupLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for WakeupLevel
impl PartialEq for WakeupLevel
impl Copy for WakeupLevel
impl StructuralPartialEq for WakeupLevel
Auto Trait Implementations§
impl Freeze for WakeupLevel
impl RefUnwindSafe for WakeupLevel
impl Send for WakeupLevel
impl Sync for WakeupLevel
impl Unpin for WakeupLevel
impl UnwindSafe for WakeupLevel
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)