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