pub struct HtmlExportOptions {
pub include_notes: bool,
pub enable_navigation: bool,
pub syntax_highlight: bool,
pub export_images_as_files: bool,
pub image_output_dir: Option<String>,
}Expand description
Export options for HTML output
Fields§
§include_notes: boolInclude speaker notes
Enable keyboard navigation
syntax_highlight: boolInclude code syntax highlighting
export_images_as_files: boolExport images as separate files instead of base64
image_output_dir: Option<String>Image output directory (for file export)
Implementations§
Source§impl HtmlExportOptions
impl HtmlExportOptions
pub fn new() -> Self
pub fn with_notes(self, include: bool) -> Self
pub fn with_syntax_highlight(self, enable: bool) -> Self
pub fn with_image_files(self, enable: bool, dir: Option<&str>) -> Self
Trait Implementations§
Source§impl Clone for HtmlExportOptions
impl Clone for HtmlExportOptions
Source§fn clone(&self) -> HtmlExportOptions
fn clone(&self) -> HtmlExportOptions
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 HtmlExportOptions
impl Debug for HtmlExportOptions
Auto Trait Implementations§
impl Freeze for HtmlExportOptions
impl RefUnwindSafe for HtmlExportOptions
impl Send for HtmlExportOptions
impl Sync for HtmlExportOptions
impl Unpin for HtmlExportOptions
impl UnsafeUnpin for HtmlExportOptions
impl UnwindSafe for HtmlExportOptions
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