pub struct Colors {
pub background: RgbColor,
pub foreground: RgbColor,
pub cursor: Option<RgbColor>,
pub palette: [RgbColor; 256],
}Expand description
Render-state color information.
Fields§
§background: RgbColorThe default/current background color for the render state.
foreground: RgbColorThe default/current foreground color for the render state.
cursor: Option<RgbColor>The cursor color which may be explicitly set by terminal state.
palette: [RgbColor; 256]The active 256-color palette for this render state.
Trait Implementations§
impl Eq for Colors
impl StructuralPartialEq for Colors
Auto Trait Implementations§
impl Freeze for Colors
impl RefUnwindSafe for Colors
impl Send for Colors
impl Sync for Colors
impl Unpin for Colors
impl UnsafeUnpin for Colors
impl UnwindSafe for Colors
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