Enum stm32f4xx_hal::dma::DmaDirection
source · [−]pub enum DmaDirection {
MemoryToMemory,
PeripheralToMemory,
MemoryToPeripheral,
}
Expand description
Possible DMA’s directions.
Variants
MemoryToMemory
Memory to Memory transfer.
PeripheralToMemory
Peripheral to Memory transfer.
MemoryToPeripheral
Memory to Peripheral transfer.
Trait Implementations
sourceimpl Clone for DmaDirection
impl Clone for DmaDirection
sourcefn clone(&self) -> DmaDirection
fn clone(&self) -> DmaDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DmaDirection
impl Debug for DmaDirection
sourceimpl PartialEq<DmaDirection> for DmaDirection
impl PartialEq<DmaDirection> for DmaDirection
impl Copy for DmaDirection
impl StructuralPartialEq for DmaDirection
Auto Trait Implementations
impl RefUnwindSafe for DmaDirection
impl Send for DmaDirection
impl Sync for DmaDirection
impl Unpin for DmaDirection
impl UnwindSafe for DmaDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more