#[repr(u8)]pub enum SdmactrlDmafb {
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 SdmactrlDmafb
impl SdmactrlDmafb
Trait Implementations§
Source§impl Clone for SdmactrlDmafb
impl Clone for SdmactrlDmafb
Source§fn clone(&self) -> SdmactrlDmafb
fn clone(&self) -> SdmactrlDmafb
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 SdmactrlDmafb
impl Debug for SdmactrlDmafb
Source§impl From<SdmactrlDmafb> for u8
impl From<SdmactrlDmafb> for u8
Source§fn from(val: SdmactrlDmafb) -> u8
fn from(val: SdmactrlDmafb) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SdmactrlDmafb
impl From<u8> for SdmactrlDmafb
Source§fn from(val: u8) -> SdmactrlDmafb
fn from(val: u8) -> SdmactrlDmafb
Converts to this type from the input type.
Source§impl Ord for SdmactrlDmafb
impl Ord for SdmactrlDmafb
Source§fn cmp(&self, other: &SdmactrlDmafb) -> Ordering
fn cmp(&self, other: &SdmactrlDmafb) -> 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 SdmactrlDmafb
impl PartialEq for SdmactrlDmafb
Source§impl PartialOrd for SdmactrlDmafb
impl PartialOrd for SdmactrlDmafb
impl Copy for SdmactrlDmafb
impl Eq for SdmactrlDmafb
impl StructuralPartialEq for SdmactrlDmafb
Auto Trait Implementations§
impl Freeze for SdmactrlDmafb
impl RefUnwindSafe for SdmactrlDmafb
impl Send for SdmactrlDmafb
impl Sync for SdmactrlDmafb
impl Unpin for SdmactrlDmafb
impl UnwindSafe for SdmactrlDmafb
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