pub struct DisplayInfoV4 {
pub manual_brightness_value: f32,
pub auto_brightness: bool,
pub screen_enabled: bool,
pub low_light_mode: LowLightMode,
pub theme_type: ThemeType,
}
Fields§
§manual_brightness_value: f32
The last brightness value that was manually set.
auto_brightness: bool
§screen_enabled: bool
§low_light_mode: LowLightMode
§theme_type: ThemeType
Trait Implementations§
Source§impl Clone for DisplayInfoV4
impl Clone for DisplayInfoV4
Source§fn clone(&self) -> DisplayInfoV4
fn clone(&self) -> DisplayInfoV4
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 DisplayInfoV4
impl Debug for DisplayInfoV4
Source§impl Default for DisplayInfoV4
impl Default for DisplayInfoV4
Source§impl<'de> Deserialize<'de> for DisplayInfoV4
impl<'de> Deserialize<'de> for DisplayInfoV4
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 DisplayInfoV4
impl DeviceStorageCompatible for DisplayInfoV4
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 From<DisplayInfoV4> for DisplayInfoV5
impl From<DisplayInfoV4> for DisplayInfoV5
Source§fn from(v4: DisplayInfoV4) -> Self
fn from(v4: DisplayInfoV4) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DisplayInfoV4
impl PartialEq for DisplayInfoV4
Source§impl Serialize for DisplayInfoV4
impl Serialize for DisplayInfoV4
impl Copy for DisplayInfoV4
impl StructuralPartialEq for DisplayInfoV4
Auto Trait Implementations§
impl Freeze for DisplayInfoV4
impl RefUnwindSafe for DisplayInfoV4
impl Send for DisplayInfoV4
impl Sync for DisplayInfoV4
impl Unpin for DisplayInfoV4
impl UnwindSafe for DisplayInfoV4
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.