#[repr(u8)]pub enum HpdisableDisable {
ENABLE = 0,
DISABLE = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HpdisableDisable
impl Clone for HpdisableDisable
Source§fn clone(&self) -> HpdisableDisable
fn clone(&self) -> HpdisableDisable
Returns a copy 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 HpdisableDisable
impl Debug for HpdisableDisable
Source§impl From<HpdisableDisable> for u8
impl From<HpdisableDisable> for u8
Source§fn from(val: HpdisableDisable) -> u8
fn from(val: HpdisableDisable) -> u8
Converts to this type from the input type.
Source§impl From<u8> for HpdisableDisable
impl From<u8> for HpdisableDisable
Source§fn from(val: u8) -> HpdisableDisable
fn from(val: u8) -> HpdisableDisable
Converts to this type from the input type.
Source§impl Ord for HpdisableDisable
impl Ord for HpdisableDisable
Source§fn cmp(&self, other: &HpdisableDisable) -> Ordering
fn cmp(&self, other: &HpdisableDisable) -> 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 HpdisableDisable
impl PartialEq for HpdisableDisable
Source§impl PartialOrd for HpdisableDisable
impl PartialOrd for HpdisableDisable
impl Copy for HpdisableDisable
impl Eq for HpdisableDisable
impl StructuralPartialEq for HpdisableDisable
Auto Trait Implementations§
impl Freeze for HpdisableDisable
impl RefUnwindSafe for HpdisableDisable
impl Send for HpdisableDisable
impl Sync for HpdisableDisable
impl Unpin for HpdisableDisable
impl UnwindSafe for HpdisableDisable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)