Enum pio::WaitSource
source · #[repr(u8)]
pub enum WaitSource {
GPIO,
PIN,
IRQ,
}
Variants§
Trait Implementations§
source§impl Clone for WaitSource
impl Clone for WaitSource
source§fn clone(&self) -> WaitSource
fn clone(&self) -> WaitSource
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 WaitSource
impl Debug for WaitSource
source§impl PartialEq<WaitSource> for WaitSource
impl PartialEq<WaitSource> for WaitSource
source§fn eq(&self, other: &WaitSource) -> bool
fn eq(&self, other: &WaitSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for WaitSource
impl TryFrom<u8> for WaitSource
§type Error = TryFromPrimitiveError<WaitSource>
type Error = TryFromPrimitiveError<WaitSource>
The type returned in the event of a conversion error.