#[repr(u8)]pub enum Hpcontrol0LDma {
L_DMA_0 = 0,
L_DMA_1 = 1,
}Variants§
L_DMA_0 = 0
No lock-the adjacent (next lower) bit can be written by the software.
L_DMA_1 = 1
Lock-the adjacent (next lower) bit can’t be written by the software.
Implementations§
Trait Implementations§
Source§impl Clone for Hpcontrol0LDma
impl Clone for Hpcontrol0LDma
Source§fn clone(&self) -> Hpcontrol0LDma
fn clone(&self) -> Hpcontrol0LDma
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 Hpcontrol0LDma
impl Debug for Hpcontrol0LDma
Source§impl From<Hpcontrol0LDma> for u8
impl From<Hpcontrol0LDma> for u8
Source§fn from(val: Hpcontrol0LDma) -> u8
fn from(val: Hpcontrol0LDma) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Hpcontrol0LDma
impl From<u8> for Hpcontrol0LDma
Source§fn from(val: u8) -> Hpcontrol0LDma
fn from(val: u8) -> Hpcontrol0LDma
Converts to this type from the input type.
Source§impl Ord for Hpcontrol0LDma
impl Ord for Hpcontrol0LDma
Source§fn cmp(&self, other: &Hpcontrol0LDma) -> Ordering
fn cmp(&self, other: &Hpcontrol0LDma) -> 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 Hpcontrol0LDma
impl PartialEq for Hpcontrol0LDma
Source§impl PartialOrd for Hpcontrol0LDma
impl PartialOrd for Hpcontrol0LDma
impl Copy for Hpcontrol0LDma
impl Eq for Hpcontrol0LDma
impl StructuralPartialEq for Hpcontrol0LDma
Auto Trait Implementations§
impl Freeze for Hpcontrol0LDma
impl RefUnwindSafe for Hpcontrol0LDma
impl Send for Hpcontrol0LDma
impl Sync for Hpcontrol0LDma
impl Unpin for Hpcontrol0LDma
impl UnwindSafe for Hpcontrol0LDma
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