pub enum DIRR {
PERIPHERALTOMEMORY,
MEMORYTOPERIPHERAL,
MEMORYTOMEMORY,
_Reserved(u8),
}
Expand description
Possible values of the field DIR
Variants§
PERIPHERALTOMEMORY
Peripheral-to-memory
MEMORYTOPERIPHERAL
Memory-to-peripheral
MEMORYTOMEMORY
Memory-to-memory
_Reserved(u8)
Reserved
Implementations§
Source§impl DIRR
impl DIRR
Sourcepub fn is_peripheral_to_memory(&self) -> bool
pub fn is_peripheral_to_memory(&self) -> bool
Checks if the value of the field is PERIPHERALTOMEMORY
Sourcepub fn is_memory_to_peripheral(&self) -> bool
pub fn is_memory_to_peripheral(&self) -> bool
Checks if the value of the field is MEMORYTOPERIPHERAL
Sourcepub fn is_memory_to_memory(&self) -> bool
pub fn is_memory_to_memory(&self) -> bool
Checks if the value of the field is MEMORYTOMEMORY
Trait Implementations§
impl Copy for DIRR
impl StructuralPartialEq for DIRR
Auto Trait Implementations§
impl Freeze for DIRR
impl RefUnwindSafe for DIRR
impl Send for DIRR
impl Sync for DIRR
impl Unpin for DIRR
impl UnwindSafe for DIRR
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