pub struct PaletteNames {
pub dark: Option<String>,
pub light: Option<String>,
}Expand description
The names of a palette’s two variants.
Fields§
§dark: Option<String>The dark variant’s name.
light: Option<String>The light variant’s name.
Trait Implementations§
Source§impl Clone for PaletteNames
impl Clone for PaletteNames
Source§impl Debug for PaletteNames
impl Debug for PaletteNames
Source§impl Default for PaletteNames
impl Default for PaletteNames
impl Eq for PaletteNames
Source§impl PartialEq for PaletteNames
impl PartialEq for PaletteNames
Source§impl Serialize for PaletteNames
impl Serialize for PaletteNames
impl StructuralPartialEq for PaletteNames
Auto Trait Implementations§
impl Freeze for PaletteNames
impl RefUnwindSafe for PaletteNames
impl Send for PaletteNames
impl Sync for PaletteNames
impl Unpin for PaletteNames
impl UnsafeUnpin for PaletteNames
impl UnwindSafe for PaletteNames
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