#[repr(u8)]pub enum HwdeviceDc {
DEVICE_OP_DIS = 0,
DEVICE_OP_EN = 1,
}Variants§
Implementations§
Source§impl HwdeviceDc
impl HwdeviceDc
Trait Implementations§
Source§impl Clone for HwdeviceDc
impl Clone for HwdeviceDc
Source§fn clone(&self) -> HwdeviceDc
fn clone(&self) -> HwdeviceDc
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 HwdeviceDc
impl Debug for HwdeviceDc
Source§impl From<HwdeviceDc> for u8
impl From<HwdeviceDc> for u8
Source§fn from(val: HwdeviceDc) -> u8
fn from(val: HwdeviceDc) -> u8
Converts to this type from the input type.
Source§impl From<u8> for HwdeviceDc
impl From<u8> for HwdeviceDc
Source§fn from(val: u8) -> HwdeviceDc
fn from(val: u8) -> HwdeviceDc
Converts to this type from the input type.
Source§impl Ord for HwdeviceDc
impl Ord for HwdeviceDc
Source§fn cmp(&self, other: &HwdeviceDc) -> Ordering
fn cmp(&self, other: &HwdeviceDc) -> 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 HwdeviceDc
impl PartialEq for HwdeviceDc
Source§impl PartialOrd for HwdeviceDc
impl PartialOrd for HwdeviceDc
impl Copy for HwdeviceDc
impl Eq for HwdeviceDc
impl StructuralPartialEq for HwdeviceDc
Auto Trait Implementations§
impl Freeze for HwdeviceDc
impl RefUnwindSafe for HwdeviceDc
impl Send for HwdeviceDc
impl Sync for HwdeviceDc
impl Unpin for HwdeviceDc
impl UnwindSafe for HwdeviceDc
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