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