#[repr(transparent)]pub struct IOPMUserActiveType(pub c_uint);Available on crate feature
pwr_mgt only.Expand description
Tuple Fields§
§0: c_uintImplementations§
Trait Implementations§
Source§impl Clone for IOPMUserActiveType
impl Clone for IOPMUserActiveType
Source§fn clone(&self) -> IOPMUserActiveType
fn clone(&self) -> IOPMUserActiveType
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 IOPMUserActiveType
impl Debug for IOPMUserActiveType
Source§impl Encode for IOPMUserActiveType
Available on crate feature objc2 only.
impl Encode for IOPMUserActiveType
Available on crate feature
objc2 only.Source§impl Hash for IOPMUserActiveType
impl Hash for IOPMUserActiveType
Source§impl Ord for IOPMUserActiveType
impl Ord for IOPMUserActiveType
Source§fn cmp(&self, other: &IOPMUserActiveType) -> Ordering
fn cmp(&self, other: &IOPMUserActiveType) -> 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 IOPMUserActiveType
impl PartialEq for IOPMUserActiveType
Source§impl PartialOrd for IOPMUserActiveType
impl PartialOrd for IOPMUserActiveType
Source§impl RefEncode for IOPMUserActiveType
Available on crate feature objc2 only.
impl RefEncode for IOPMUserActiveType
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for IOPMUserActiveType
impl Eq for IOPMUserActiveType
impl StructuralPartialEq for IOPMUserActiveType
Auto Trait Implementations§
impl Freeze for IOPMUserActiveType
impl RefUnwindSafe for IOPMUserActiveType
impl Send for IOPMUserActiveType
impl Sync for IOPMUserActiveType
impl Unpin for IOPMUserActiveType
impl UnwindSafe for IOPMUserActiveType
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§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.