pub enum DmaDirection {
ToDevice,
FromDevice,
Bidirectional,
}Expand description
DMA transfer direction.
Variants§
ToDevice
CPU writes, device reads.
FromDevice
Device writes, CPU reads.
Bidirectional
CPU and device may both read/write.
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
Source§fn eq(&self, other: &DmaDirection) -> bool
fn eq(&self, other: &DmaDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DmaDirection
Auto Trait Implementations§
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