pub struct Palette {
pub foreground: Rgb,
pub background: Rgb,
pub ansi_colors: [Rgb; 16],
}
Fields§
§foreground: Rgb
§background: Rgb
§ansi_colors: [Rgb; 16]
Auto Trait Implementations§
impl Freeze for Palette
impl RefUnwindSafe for Palette
impl Send for Palette
impl Sync for Palette
impl Unpin 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