pub struct SetDisplayInfo {
pub manual_brightness_value: Option<f32>,
pub auto_brightness_value: Option<f32>,
pub auto_brightness: Option<bool>,
pub screen_enabled: Option<bool>,
pub low_light_mode: Option<LowLightMode>,
pub theme: Option<Theme>,
}
Fields§
§manual_brightness_value: Option<f32>
§auto_brightness_value: Option<f32>
§auto_brightness: Option<bool>
§screen_enabled: Option<bool>
§low_light_mode: Option<LowLightMode>
§theme: Option<Theme>
Trait Implementations§
Source§impl Clone for SetDisplayInfo
impl Clone for SetDisplayInfo
Source§fn clone(&self) -> SetDisplayInfo
fn clone(&self) -> SetDisplayInfo
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 SetDisplayInfo
impl Debug for SetDisplayInfo
Source§impl Default for SetDisplayInfo
impl Default for SetDisplayInfo
Source§fn default() -> SetDisplayInfo
fn default() -> SetDisplayInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for SetDisplayInfo
impl PartialEq for SetDisplayInfo
impl Copy for SetDisplayInfo
impl StructuralPartialEq for SetDisplayInfo
Auto Trait Implementations§
impl Freeze for SetDisplayInfo
impl RefUnwindSafe for SetDisplayInfo
impl Send for SetDisplayInfo
impl Sync for SetDisplayInfo
impl Unpin for SetDisplayInfo
impl UnwindSafe for SetDisplayInfo
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
)