pub struct Palette {
pub sf: Option<String>,
pub dark: Option<BTreeMap<String, String>>,
pub light: Option<BTreeMap<String, String>>,
pub name: Option<PaletteNames>,
}Expand description
A t message: the program palette, token → #rrggbb per variant.
Fields§
§sf: Option<String>The surface (the live one when absent).
dark: Option<BTreeMap<String, String>>The dark variant.
light: Option<BTreeMap<String, String>>The light variant.
name: Option<PaletteNames>The variants’ names.
Trait Implementations§
impl Eq for Palette
impl StructuralPartialEq for Palette
Auto Trait Implementations§
impl Freeze for Palette
impl RefUnwindSafe for Palette
impl Send for Palette
impl Sync for Palette
impl Unpin for Palette
impl UnsafeUnpin for Palette
impl UnwindSafe for Palette
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