pub unsafe trait _embedded_dma_WriteTarget {
type Word: Word;
// Provided method
fn as_write_buffer(&mut self) -> (*mut Self::Word, usize) { ... }
}
Expand description
Trait for DerefMut
targets used by the blanket DmaWriteBuffer
impl.
This trait exists solely to work around https://github.com/rust-lang/rust/issues/20400.
Safety
as_write_buffer
must adhere to the safety requirements documented forWriteBuffer::write_buffer
.