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