Struct settings::DisplayConfiguration
source · pub struct DisplayConfiguration {
pub theme: ThemeConfiguration,
}
Expand description
Internal representation of the display configuration stored in
/config/data/display_configuration.json
.
Fields§
§theme: ThemeConfiguration
Trait Implementations§
source§impl Clone for DisplayConfiguration
impl Clone for DisplayConfiguration
source§fn clone(&self) -> DisplayConfiguration
fn clone(&self) -> DisplayConfiguration
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 DisplayConfiguration
impl Debug for DisplayConfiguration
source§impl<'de> Deserialize<'de> for DisplayConfiguration
impl<'de> Deserialize<'de> for DisplayConfiguration
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 PartialEq for DisplayConfiguration
impl PartialEq for DisplayConfiguration
source§fn eq(&self, other: &DisplayConfiguration) -> bool
fn eq(&self, other: &DisplayConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DisplayConfiguration
Auto Trait Implementations§
impl Freeze for DisplayConfiguration
impl RefUnwindSafe for DisplayConfiguration
impl Send for DisplayConfiguration
impl Sync for DisplayConfiguration
impl Unpin for DisplayConfiguration
impl UnwindSafe for DisplayConfiguration
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