pub struct DisplayInfoV3 {
pub manual_brightness_value: f32,
pub auto_brightness: bool,
pub screen_enabled: bool,
pub low_light_mode: LowLightMode,
pub theme_mode: ThemeModeV1,
}
Fields§
§manual_brightness_value: f32
The last brightness value that was manually set.
auto_brightness: bool
§screen_enabled: bool
§low_light_mode: LowLightMode
§theme_mode: ThemeModeV1
Trait Implementations§
Source§impl Clone for DisplayInfoV3
impl Clone for DisplayInfoV3
Source§fn clone(&self) -> DisplayInfoV3
fn clone(&self) -> DisplayInfoV3
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 DisplayInfoV3
impl Debug for DisplayInfoV3
Source§impl Default for DisplayInfoV3
impl Default for DisplayInfoV3
Source§impl<'de> Deserialize<'de> for DisplayInfoV3
impl<'de> Deserialize<'de> for DisplayInfoV3
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl DeviceStorageCompatible for DisplayInfoV3
impl DeviceStorageCompatible for DisplayInfoV3
Source§impl From<DisplayInfoV2> for DisplayInfoV3
impl From<DisplayInfoV2> for DisplayInfoV3
Source§fn from(v2: DisplayInfoV2) -> Self
fn from(v2: DisplayInfoV2) -> Self
Converts to this type from the input type.
Source§impl From<DisplayInfoV3> for DisplayInfoV4
impl From<DisplayInfoV3> for DisplayInfoV4
Source§fn from(v3: DisplayInfoV3) -> Self
fn from(v3: DisplayInfoV3) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DisplayInfoV3
impl PartialEq for DisplayInfoV3
Source§impl Serialize for DisplayInfoV3
impl Serialize for DisplayInfoV3
impl Copy for DisplayInfoV3
impl StructuralPartialEq for DisplayInfoV3
Auto Trait Implementations§
impl Freeze for DisplayInfoV3
impl RefUnwindSafe for DisplayInfoV3
impl Send for DisplayInfoV3
impl Sync for DisplayInfoV3
impl Unpin for DisplayInfoV3
impl UnwindSafe for DisplayInfoV3
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
)§impl<T> DeviceStorageConvertible for Twhere
T: DeviceStorageCompatible,
impl<T> DeviceStorageConvertible for Twhere
T: DeviceStorageCompatible,
§fn get_storable(&self) -> Cow<'_, <T as DeviceStorageConvertible>::Storable>
fn get_storable(&self) -> Cow<'_, <T as DeviceStorageConvertible>::Storable>
Convert
self
into its storable version.