pub struct AnyChannel { /* private fields */ }
Expand description
Type-erased channel.
Obtained by calling Channel::degrade
.
This allows using several channels in situations that might require them to be the same type, like putting them in an array.
Trait Implementations§
Source§impl Channel for AnyChannel
impl Channel for AnyChannel
Source§impl From<GPIOTE_CH0> for AnyChannel
impl From<GPIOTE_CH0> for AnyChannel
Source§fn from(val: GPIOTE_CH0) -> Self
fn from(val: GPIOTE_CH0) -> Self
Converts to this type from the input type.
Source§impl From<GPIOTE_CH1> for AnyChannel
impl From<GPIOTE_CH1> for AnyChannel
Source§fn from(val: GPIOTE_CH1) -> Self
fn from(val: GPIOTE_CH1) -> Self
Converts to this type from the input type.
Source§impl From<GPIOTE_CH2> for AnyChannel
impl From<GPIOTE_CH2> for AnyChannel
Source§fn from(val: GPIOTE_CH2) -> Self
fn from(val: GPIOTE_CH2) -> Self
Converts to this type from the input type.
Source§impl From<GPIOTE_CH3> for AnyChannel
impl From<GPIOTE_CH3> for AnyChannel
Source§fn from(val: GPIOTE_CH3) -> Self
fn from(val: GPIOTE_CH3) -> Self
Converts to this type from the input type.
Source§impl From<GPIOTE_CH4> for AnyChannel
impl From<GPIOTE_CH4> for AnyChannel
Source§fn from(val: GPIOTE_CH4) -> Self
fn from(val: GPIOTE_CH4) -> Self
Converts to this type from the input type.
Source§impl From<GPIOTE_CH5> for AnyChannel
impl From<GPIOTE_CH5> for AnyChannel
Source§fn from(val: GPIOTE_CH5) -> Self
fn from(val: GPIOTE_CH5) -> Self
Converts to this type from the input type.
Source§impl From<GPIOTE_CH6> for AnyChannel
impl From<GPIOTE_CH6> for AnyChannel
Source§fn from(val: GPIOTE_CH6) -> Self
fn from(val: GPIOTE_CH6) -> Self
Converts to this type from the input type.
Source§impl From<GPIOTE_CH7> for AnyChannel
impl From<GPIOTE_CH7> for AnyChannel
Source§fn from(val: GPIOTE_CH7) -> Self
fn from(val: GPIOTE_CH7) -> Self
Converts to this type from the input type.
Source§impl Peripheral for AnyChannel
impl Peripheral for AnyChannel
Source§type P = AnyChannel
type P = AnyChannel
Peripheral singleton type
Source§unsafe fn clone_unchecked(&self) -> Self::P
unsafe fn clone_unchecked(&self) -> Self::P
Unsafely clone (duplicate) a peripheral singleton. Read more
Auto Trait Implementations§
impl Freeze for AnyChannel
impl RefUnwindSafe for AnyChannel
impl Send for AnyChannel
impl Sync for AnyChannel
impl Unpin for AnyChannel
impl UnwindSafe for AnyChannel
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