#[repr(u8)]pub enum WaitSource {
GPIO = 0,
PIN = 1,
IRQ = 2,
JMPPIN = 3,
}Variants§
Trait Implementations§
Source§impl Clone for WaitSource
impl Clone for WaitSource
Source§fn clone(&self) -> WaitSource
fn clone(&self) -> WaitSource
Returns a duplicate 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 WaitSource
impl Debug for WaitSource
Source§impl PartialEq for WaitSource
impl PartialEq for WaitSource
Source§impl TryFrom<u8> for WaitSource
impl TryFrom<u8> for WaitSource
Source§type Error = TryFromPrimitiveError<WaitSource>
type Error = TryFromPrimitiveError<WaitSource>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for WaitSource
impl TryFromPrimitive for WaitSource
const NAME: &'static str = "WaitSource"
type Primitive = u8
type Error = TryFromPrimitiveError<WaitSource>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for WaitSource
impl Eq for WaitSource
impl StructuralPartialEq for WaitSource
Auto Trait Implementations§
impl Freeze for WaitSource
impl RefUnwindSafe for WaitSource
impl Send for WaitSource
impl Sync for WaitSource
impl Unpin for WaitSource
impl UnwindSafe for WaitSource
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