pub struct ExportHtmlOptions {
pub font_family: String,
pub font_size: u32,
pub line_height: f64,
pub theme: ExportTheme,
pub code: String,
}Expand description
Options for HTML export.
Fields§
§font_family: StringFont family for the output.
font_size: u32Font size in pixels.
line_height: f64Line height multiplier.
theme: ExportThemeTerminal color theme.
code: StringCode block to insert.
Trait Implementations§
Source§impl Clone for ExportHtmlOptions
impl Clone for ExportHtmlOptions
Source§fn clone(&self) -> ExportHtmlOptions
fn clone(&self) -> ExportHtmlOptions
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 ExportHtmlOptions
impl Debug for ExportHtmlOptions
Auto Trait Implementations§
impl Freeze for ExportHtmlOptions
impl RefUnwindSafe for ExportHtmlOptions
impl Send for ExportHtmlOptions
impl Sync for ExportHtmlOptions
impl Unpin for ExportHtmlOptions
impl UnsafeUnpin for ExportHtmlOptions
impl UnwindSafe for ExportHtmlOptions
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