pub struct CustomColorPalette {
pub background_hover: Option<String>,
pub background_primary: Option<String>,
pub background_secondary: Option<String>,
pub button_primary: Option<String>,
pub interactive_accent: Option<String>,
pub navigation_accent: Option<String>,
pub primary: Option<String>,
pub text_danger: Option<String>,
pub text_primary: Option<String>,
}
Fields§
§background_hover: Option<String>
§background_primary: Option<String>
§background_secondary: Option<String>
§interactive_accent: Option<String>
§primary: Option<String>
§text_danger: Option<String>
§text_primary: Option<String>
Implementations§
Source§impl CustomColorPalette
impl CustomColorPalette
pub fn new() -> CustomColorPalette
Trait Implementations§
Source§impl Clone for CustomColorPalette
impl Clone for CustomColorPalette
Source§fn clone(&self) -> CustomColorPalette
fn clone(&self) -> CustomColorPalette
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 Debug for CustomColorPalette
impl Debug for CustomColorPalette
Source§impl Default for CustomColorPalette
impl Default for CustomColorPalette
Source§fn default() -> CustomColorPalette
fn default() -> CustomColorPalette
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomColorPalette
impl<'de> Deserialize<'de> for CustomColorPalette
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 CustomColorPalette
impl PartialEq for CustomColorPalette
Source§impl Serialize for CustomColorPalette
impl Serialize for CustomColorPalette
impl StructuralPartialEq for CustomColorPalette
Auto Trait Implementations§
impl Freeze for CustomColorPalette
impl RefUnwindSafe for CustomColorPalette
impl Send for CustomColorPalette
impl Sync for CustomColorPalette
impl Unpin for CustomColorPalette
impl UnwindSafe for CustomColorPalette
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