#[repr(u8)]pub enum SdmactrlDmatb {
NOT_USED = 0,
ENABLE_ONE_FRAME = 1,
ENABLE = 2,
_RESERVED_3 = 3,
}Variants§
NOT_USED = 0
DMA not used
ENABLE_ONE_FRAME = 1
DMA enabled for one frame
ENABLE = 2
DMA enabled until turned off
_RESERVED_3 = 3
Implementations§
Source§impl SdmactrlDmatb
impl SdmactrlDmatb
Trait Implementations§
Source§impl Clone for SdmactrlDmatb
impl Clone for SdmactrlDmatb
Source§fn clone(&self) -> SdmactrlDmatb
fn clone(&self) -> SdmactrlDmatb
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SdmactrlDmatb
impl Debug for SdmactrlDmatb
Source§impl From<SdmactrlDmatb> for u8
impl From<SdmactrlDmatb> for u8
Source§fn from(val: SdmactrlDmatb) -> u8
fn from(val: SdmactrlDmatb) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SdmactrlDmatb
impl From<u8> for SdmactrlDmatb
Source§fn from(val: u8) -> SdmactrlDmatb
fn from(val: u8) -> SdmactrlDmatb
Converts to this type from the input type.
Source§impl Ord for SdmactrlDmatb
impl Ord for SdmactrlDmatb
Source§fn cmp(&self, other: &SdmactrlDmatb) -> Ordering
fn cmp(&self, other: &SdmactrlDmatb) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SdmactrlDmatb
impl PartialEq for SdmactrlDmatb
Source§impl PartialOrd for SdmactrlDmatb
impl PartialOrd for SdmactrlDmatb
impl Copy for SdmactrlDmatb
impl Eq for SdmactrlDmatb
impl StructuralPartialEq for SdmactrlDmatb
Auto Trait Implementations§
impl Freeze for SdmactrlDmatb
impl RefUnwindSafe for SdmactrlDmatb
impl Send for SdmactrlDmatb
impl Sync for SdmactrlDmatb
impl Unpin for SdmactrlDmatb
impl UnwindSafe for SdmactrlDmatb
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