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: BackgroundThe set of background colors.
primary: PrimaryThe set of primary colors.
secondary: SecondaryThe set of secondary colors.
success: SuccessThe set of success colors.
warning: WarningThe set of warning colors.
danger: DangerThe set of danger colors.
is_dark: boolWhether 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