pub struct ExportHtmlOptions<'a> {
pub theme: Option<&'a TerminalTheme>,
pub clear: bool,
pub code_format: Option<&'a str>,
pub inline_styles: bool,
}Expand description
The keyword arguments of upstream’s Console.export_html and
save_html, for Console::export_html_recorded.
Fields§
§theme: Option<&'a TerminalTheme>theme=: the palette, or None for
DEFAULT_TERMINAL_THEME.
clear: boolclear=: empty the record afterwards (default true).
code_format: Option<&'a str>code_format=: the page template, or None for
CONSOLE_HTML_FORMAT.
inline_styles: boolinline_styles=: styles on each span rather than in a stylesheet
(default false).
Trait Implementations§
Source§impl<'a> Clone for ExportHtmlOptions<'a>
impl<'a> Clone for ExportHtmlOptions<'a>
impl<'a> Copy for ExportHtmlOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExportHtmlOptions<'a>
impl<'a> RefUnwindSafe for ExportHtmlOptions<'a>
impl<'a> Send for ExportHtmlOptions<'a>
impl<'a> Sync for ExportHtmlOptions<'a>
impl<'a> Unpin for ExportHtmlOptions<'a>
impl<'a> UnsafeUnpin for ExportHtmlOptions<'a>
impl<'a> UnwindSafe for ExportHtmlOptions<'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