pub struct Descriptors<const N: usize> { /* private fields */ }Expand description
DMA descriptors and per-block state. Must outlive the stream, in memory the DMA reaches.
The alignment keeps a list from straddling 64 KiB for up to 16 blocks.
Implementations§
Source§impl<const N: usize> Descriptors<N>
impl<const N: usize> Descriptors<N>
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Empty descriptors; TriggeredFrames::new fills them.
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> !Freeze for Descriptors<N>
impl<const N: usize> RefUnwindSafe for Descriptors<N>
impl<const N: usize> Send for Descriptors<N>
impl<const N: usize> Sync for Descriptors<N>
impl<const N: usize> Unpin for Descriptors<N>
impl<const N: usize> UnsafeUnpin for Descriptors<N>
impl<const N: usize> UnwindSafe for Descriptors<N>
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