Enum atsamd51p::ac::statusa::WSTATE0SELECT_A
source · #[repr(u8)]pub enum WSTATE0SELECT_A {
ABOVE = 0,
INSIDE = 1,
BELOW = 2,
}
Expand description
Window 0 Current State
Value on reset: 0
Variants§
ABOVE = 0
0: Signal is above window
INSIDE = 1
1: Signal is inside window
BELOW = 2
2: Signal is below window
Trait Implementations§
source§impl Clone for WSTATE0SELECT_A
impl Clone for WSTATE0SELECT_A
source§fn clone(&self) -> WSTATE0SELECT_A
fn clone(&self) -> WSTATE0SELECT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WSTATE0SELECT_A
impl Debug for WSTATE0SELECT_A
source§impl From<WSTATE0SELECT_A> for u8
impl From<WSTATE0SELECT_A> for u8
source§fn from(variant: WSTATE0SELECT_A) -> Self
fn from(variant: WSTATE0SELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for WSTATE0SELECT_A
impl PartialEq for WSTATE0SELECT_A
source§fn eq(&self, other: &WSTATE0SELECT_A) -> bool
fn eq(&self, other: &WSTATE0SELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WSTATE0SELECT_A
impl Eq for WSTATE0SELECT_A
impl StructuralPartialEq for WSTATE0SELECT_A
Auto Trait Implementations§
impl Freeze for WSTATE0SELECT_A
impl RefUnwindSafe for WSTATE0SELECT_A
impl Send for WSTATE0SELECT_A
impl Sync for WSTATE0SELECT_A
impl Unpin for WSTATE0SELECT_A
impl UnwindSafe for WSTATE0SELECT_A
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