pub struct Extended {
pub background: Background,
pub primary: Primary,
pub secondary: Secondary,
pub success: Success,
pub warning: Warning,
pub danger: Danger,
pub is_dark: bool,
}
Expand description
An extended set of colors generated from a Palette
.
Fields§
§background: Background
The set of background colors.
primary: Primary
The set of primary colors.
secondary: Secondary
The set of secondary colors.
success: Success
The set of success colors.
warning: Warning
The set of warning colors.
danger: Danger
The set of danger colors.
is_dark: bool
Whether the palette is dark or not.
Implementations§
Trait Implementations§
impl Copy for Extended
impl StructuralPartialEq for Extended
Auto Trait Implementations§
impl Freeze for Extended
impl RefUnwindSafe for Extended
impl Send for Extended
impl Sync for Extended
impl Unpin for Extended
impl UnwindSafe for Extended
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