pub struct UserSettingsCustomSidebarTheme {
pub accent: Option<Vec<f64>>,
pub base: Option<Vec<f64>>,
pub contrast: Option<i64>,
}Fields§
§accent: Option<Vec<f64>>The accent color in LCH format.
base: Option<Vec<f64>>The base color in LCH format.
contrast: Option<i64>The contrast value.
Trait Implementations§
Source§impl Clone for UserSettingsCustomSidebarTheme
impl Clone for UserSettingsCustomSidebarTheme
Source§fn clone(&self) -> UserSettingsCustomSidebarTheme
fn clone(&self) -> UserSettingsCustomSidebarTheme
Returns a duplicate 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 Default for UserSettingsCustomSidebarTheme
impl Default for UserSettingsCustomSidebarTheme
Source§fn default() -> UserSettingsCustomSidebarTheme
fn default() -> UserSettingsCustomSidebarTheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserSettingsCustomSidebarTheme
impl<'de> Deserialize<'de> for UserSettingsCustomSidebarTheme
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
Auto Trait Implementations§
impl Freeze for UserSettingsCustomSidebarTheme
impl RefUnwindSafe for UserSettingsCustomSidebarTheme
impl Send for UserSettingsCustomSidebarTheme
impl Sync for UserSettingsCustomSidebarTheme
impl Unpin for UserSettingsCustomSidebarTheme
impl UnwindSafe for UserSettingsCustomSidebarTheme
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