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