pub struct ColorPaletteArgs<'a> {Show 21 fields
pub primary: Option<&'a Color>,
pub primary_foreground: Option<&'a Color>,
pub secondary: Option<&'a Color>,
pub secondary_foreground: Option<&'a Color>,
pub accent: Option<&'a Color>,
pub accent_foreground: Option<&'a Color>,
pub background: Option<&'a Color>,
pub foreground: Option<&'a Color>,
pub surface: Option<&'a Color>,
pub surface_foreground: Option<&'a Color>,
pub muted: Option<&'a Color>,
pub muted_foreground: Option<&'a Color>,
pub border_color: Option<&'a Color>,
pub error: Option<&'a Color>,
pub error_foreground: Option<&'a Color>,
pub success: Option<&'a Color>,
pub success_foreground: Option<&'a Color>,
pub warning: Option<&'a Color>,
pub warning_foreground: Option<&'a Color>,
pub info: Option<&'a Color>,
pub info_foreground: Option<&'a Color>,
}Fields§
§primary: Option<&'a Color>§primary_foreground: Option<&'a Color>§secondary: Option<&'a Color>§secondary_foreground: Option<&'a Color>§accent: Option<&'a Color>§accent_foreground: Option<&'a Color>§background: Option<&'a Color>§foreground: Option<&'a Color>§surface: Option<&'a Color>§surface_foreground: Option<&'a Color>§muted: Option<&'a Color>§muted_foreground: Option<&'a Color>§border_color: Option<&'a Color>§error: Option<&'a Color>§error_foreground: Option<&'a Color>§success: Option<&'a Color>§success_foreground: Option<&'a Color>§warning: Option<&'a Color>§warning_foreground: Option<&'a Color>§info: Option<&'a Color>§info_foreground: Option<&'a Color>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ColorPaletteArgs<'a>
impl<'a> RefUnwindSafe for ColorPaletteArgs<'a>
impl<'a> Send for ColorPaletteArgs<'a>
impl<'a> Sync for ColorPaletteArgs<'a>
impl<'a> Unpin for ColorPaletteArgs<'a>
impl<'a> UnsafeUnpin for ColorPaletteArgs<'a>
impl<'a> UnwindSafe for ColorPaletteArgs<'a>
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