#[repr(transparent)]pub struct SmcMessageType(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl SmcMessageType
impl SmcMessageType
pub const SMC_MSG_TYPE_ESTABLISH_HWC: SmcMessageType
pub const SMC_MSG_TYPE_DESTROY_HWC: SmcMessageType
pub const SMC_MSG_TYPE_REPORT_HWC_TIMEOUT: SmcMessageType
Trait Implementations§
Source§impl Clone for SmcMessageType
impl Clone for SmcMessageType
Source§fn clone(&self) -> SmcMessageType
fn clone(&self) -> SmcMessageType
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 SmcMessageType
impl Debug for SmcMessageType
Source§impl Hash for SmcMessageType
impl Hash for SmcMessageType
Source§impl Ord for SmcMessageType
impl Ord for SmcMessageType
Source§fn cmp(&self, other: &SmcMessageType) -> Ordering
fn cmp(&self, other: &SmcMessageType) -> 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 SmcMessageType
impl PartialEq for SmcMessageType
Source§impl PartialOrd for SmcMessageType
impl PartialOrd for SmcMessageType
impl Copy for SmcMessageType
impl Eq for SmcMessageType
impl StructuralPartialEq for SmcMessageType
Auto Trait Implementations§
impl Freeze for SmcMessageType
impl RefUnwindSafe for SmcMessageType
impl Send for SmcMessageType
impl Sync for SmcMessageType
impl Unpin for SmcMessageType
impl UnwindSafe for SmcMessageType
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