pub struct ThemeToml {
pub name: String,
pub colors: Option<HashMap<String, String>>,
pub spacing: Option<HashMap<String, String>>,
pub border_radius: Option<HashMap<String, String>>,
pub box_shadows: Option<HashMap<String, String>>,
pub custom: Option<HashMap<String, Value>>,
}Expand description
TOML representation of theme configuration
Fields§
§name: String§colors: Option<HashMap<String, String>>§spacing: Option<HashMap<String, String>>§border_radius: Option<HashMap<String, String>>§box_shadows: Option<HashMap<String, String>>§custom: Option<HashMap<String, Value>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ThemeToml
impl<'de> Deserialize<'de> for ThemeToml
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
impl StructuralPartialEq for ThemeToml
Auto Trait Implementations§
impl Freeze for ThemeToml
impl RefUnwindSafe for ThemeToml
impl Send for ThemeToml
impl Sync for ThemeToml
impl Unpin for ThemeToml
impl UnwindSafe for ThemeToml
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