#[repr(C)]pub struct PowerSaveType(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl PowerSaveType
impl PowerSaveType
pub const PS_MODE_ULTRA_LOW_POWER: Self = _
pub const PS_MODE_LOW_POWER: Self = _
pub const PS_MODE_BALANCED: Self = _
pub const PS_MODE_PERFORMANCE: Self = _
Trait Implementations§
Source§impl BitAnd for PowerSaveType
impl BitAnd for PowerSaveType
Source§impl BitAndAssign for PowerSaveType
impl BitAndAssign for PowerSaveType
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOr for PowerSaveType
impl BitOr for PowerSaveType
Source§impl BitOrAssign for PowerSaveType
impl BitOrAssign for PowerSaveType
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl BitXor for PowerSaveType
impl BitXor for PowerSaveType
Source§impl BitXorAssign for PowerSaveType
impl BitXorAssign for PowerSaveType
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moreSource§impl Clone for PowerSaveType
impl Clone for PowerSaveType
Source§fn clone(&self) -> PowerSaveType
fn clone(&self) -> PowerSaveType
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 PowerSaveType
impl Debug for PowerSaveType
Source§impl PartialEq for PowerSaveType
impl PartialEq for PowerSaveType
impl Copy for PowerSaveType
impl Eq for PowerSaveType
impl StructuralPartialEq for PowerSaveType
Auto Trait Implementations§
impl Freeze for PowerSaveType
impl RefUnwindSafe for PowerSaveType
impl Send for PowerSaveType
impl Sync for PowerSaveType
impl Unpin for PowerSaveType
impl UnwindSafe for PowerSaveType
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
)