pub unsafe trait _embedded_dma_ReadTarget {
type Word: Word;
// Provided method
fn as_read_buffer(&self) -> (*const Self::Word, usize) { ... }
}
Expand description
Trait for Deref
targets used by the blanket DmaReadBuffer
impl.
This trait exists solely to work around https://github.com/rust-lang/rust/issues/20400.
Safety
as_read_buffer
must adhere to the safety requirements documented forReadBuffer::read_buffer
.