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