pub struct Theme {
pub fg: u32,
pub bg: u32,
pub recede_fg: u32,
pub recede_bg: u32,
pub accent: u32,
pub palette: [u32; 16],
}Expand description
The viewer’s theme colours as 0xRRGGBB.
Fields§
§fg: u32§bg: u32§recede_fg: u32Text receded toward the background: “grayed out”.
recede_bg: u32§accent: u32§palette: [u32; 16]The terminal’s 16 ANSI colours as the viewer resolved them.
Implementations§
Trait Implementations§
impl Copy for Theme
impl Eq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
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