#[repr(transparent)]pub struct DisplayBrightnessOverrideOptions(pub u32);
Tuple Fields§
§0: u32
Implementations§
§impl DisplayBrightnessOverrideOptions
impl DisplayBrightnessOverrideOptions
pub const None: Self = _
pub const UseDimmedPolicyWhenBatteryIsLow: Self = _
Trait Implementations§
§impl BitAnd for DisplayBrightnessOverrideOptions
impl BitAnd for DisplayBrightnessOverrideOptions
§impl BitAndAssign for DisplayBrightnessOverrideOptions
impl BitAndAssign for DisplayBrightnessOverrideOptions
§fn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the
&=
operation. Read more§impl BitOr for DisplayBrightnessOverrideOptions
impl BitOr for DisplayBrightnessOverrideOptions
§impl BitOrAssign for DisplayBrightnessOverrideOptions
impl BitOrAssign for DisplayBrightnessOverrideOptions
§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|=
operation. Read more§impl Clone for DisplayBrightnessOverrideOptions
impl Clone for DisplayBrightnessOverrideOptions
§fn clone(&self) -> DisplayBrightnessOverrideOptions
fn clone(&self) -> DisplayBrightnessOverrideOptions
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 more§impl Debug for DisplayBrightnessOverrideOptions
impl Debug for DisplayBrightnessOverrideOptions
§impl Default for DisplayBrightnessOverrideOptions
impl Default for DisplayBrightnessOverrideOptions
§fn default() -> DisplayBrightnessOverrideOptions
fn default() -> DisplayBrightnessOverrideOptions
Returns the “default value” for a type. Read more
§impl Not for DisplayBrightnessOverrideOptions
impl Not for DisplayBrightnessOverrideOptions
§impl PartialEq for DisplayBrightnessOverrideOptions
impl PartialEq for DisplayBrightnessOverrideOptions
§fn eq(&self, other: &DisplayBrightnessOverrideOptions) -> bool
fn eq(&self, other: &DisplayBrightnessOverrideOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisplayBrightnessOverrideOptions
impl Eq for DisplayBrightnessOverrideOptions
impl StructuralPartialEq for DisplayBrightnessOverrideOptions
Auto Trait Implementations§
impl Freeze for DisplayBrightnessOverrideOptions
impl RefUnwindSafe for DisplayBrightnessOverrideOptions
impl Send for DisplayBrightnessOverrideOptions
impl Sync for DisplayBrightnessOverrideOptions
impl Unpin for DisplayBrightnessOverrideOptions
impl UnwindSafe for DisplayBrightnessOverrideOptions
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)