pub enum DmaDirection {
MemoryToDevice,
DeviceToMemory,
}Expand description
Direction of a DMA transfer, named from the device’s perspective.
Variants§
MemoryToDevice
The controller reads memory and delivers data to the device.
DeviceToMemory
The controller reads the device and writes data to memory.
Trait Implementations§
Source§impl Clone for DmaDirection
impl Clone for DmaDirection
Source§fn clone(&self) -> DmaDirection
fn clone(&self) -> DmaDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DmaDirection
Source§impl Debug for DmaDirection
impl Debug for DmaDirection
impl Eq for DmaDirection
Source§impl Hash for DmaDirection
impl Hash for DmaDirection
Source§impl PartialEq for DmaDirection
impl PartialEq for DmaDirection
impl StructuralPartialEq for DmaDirection
Auto Trait Implementations§
impl Forget for DmaDirection
impl Freeze for DmaDirection
impl RefUnwindSafe for DmaDirection
impl Send for DmaDirection
impl Sync for DmaDirection
impl Unpin for DmaDirection
impl UnsafeUnpin for DmaDirection
impl UnwindSafe for DmaDirection
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