Struct EmptyBuf
Source pub struct EmptyBuf;
Available on crate feature unstable
only.
Expand description
An empty buffer that can be used when you don’t need to transfer any data.
A type providing operations that are safe to perform on the buffer
whilst the DMA is actively using it.
Prepares the buffer for an imminent transfer and returns
information required to use this buffer.
Read more
This is called before the DMA starts using the buffer.
This is called after the DMA is done using the buffer.
A type providing operations that are safe to perform on the buffer
whilst the DMA is actively using it.
Prepares the buffer for an imminent transfer and returns
information required to use this buffer.
Read more
This is called before the DMA starts using the buffer.
This is called after the DMA is done using the buffer.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.