pub struct ExportTheme {
pub background: (u8, u8, u8),
pub foreground: (u8, u8, u8),
pub ansi_colors: [(u8, u8, u8); 16],
}Expand description
A terminal color theme used for HTML/SVG export.
Fields§
§background: (u8, u8, u8)§foreground: (u8, u8, u8)§ansi_colors: [(u8, u8, u8); 16]ANSI palette: 16 standard colors
Trait Implementations§
Source§impl Clone for ExportTheme
impl Clone for ExportTheme
Source§fn clone(&self) -> ExportTheme
fn clone(&self) -> ExportTheme
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportTheme
impl Debug for ExportTheme
Auto Trait Implementations§
impl Freeze for ExportTheme
impl RefUnwindSafe for ExportTheme
impl Send for ExportTheme
impl Sync for ExportTheme
impl Unpin for ExportTheme
impl UnsafeUnpin for ExportTheme
impl UnwindSafe for ExportTheme
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