pub struct AnyChannel { /* private fields */ }Expand description
Type-erased DMA channel.
This allows storing DMA channels in a uniform way regardless of their concrete type, useful for async transfer futures and runtime channel selection.
Implementations§
Source§impl AnyChannel
impl AnyChannel
Trait Implementations§
Source§impl Clone for AnyChannel
impl Clone for AnyChannel
Source§fn clone(&self) -> AnyChannel
fn clone(&self) -> AnyChannel
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 AnyChannel
impl Debug for AnyChannel
Source§impl From<DMA_CH0> for AnyChannel
impl From<DMA_CH0> for AnyChannel
Source§impl From<DMA_CH1> for AnyChannel
impl From<DMA_CH1> for AnyChannel
Source§impl From<DMA_CH2> for AnyChannel
impl From<DMA_CH2> for AnyChannel
Source§impl From<DMA_CH3> for AnyChannel
impl From<DMA_CH3> for AnyChannel
Source§impl From<DMA_CH4> for AnyChannel
impl From<DMA_CH4> for AnyChannel
Source§impl From<DMA_CH5> for AnyChannel
impl From<DMA_CH5> for AnyChannel
Source§impl From<DMA_CH6> for AnyChannel
impl From<DMA_CH6> for AnyChannel
Source§impl From<DMA_CH7> for AnyChannel
impl From<DMA_CH7> for AnyChannel
impl Copy for AnyChannel
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