pub struct HtmlParseOptions {
pub max_slides: usize,
pub max_bullets: usize,
pub include_code: bool,
pub include_tables: bool,
pub include_images: bool,
}Expand description
Options for HTML parsing
Fields§
§max_slides: usizeMaximum slides to generate
max_bullets: usizeMaximum bullet points per slide
include_code: boolInclude code blocks
include_tables: boolInclude tables
include_images: boolInclude image placeholders
Implementations§
Source§impl HtmlParseOptions
impl HtmlParseOptions
pub fn new() -> Self
pub fn max_slides(self, n: usize) -> Self
pub fn max_bullets(self, n: usize) -> Self
pub fn include_code(self, include: bool) -> Self
pub fn include_tables(self, include: bool) -> Self
pub fn include_images(self, include: bool) -> Self
Trait Implementations§
Source§impl Clone for HtmlParseOptions
impl Clone for HtmlParseOptions
Source§fn clone(&self) -> HtmlParseOptions
fn clone(&self) -> HtmlParseOptions
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 HtmlParseOptions
impl Debug for HtmlParseOptions
Auto Trait Implementations§
impl Freeze for HtmlParseOptions
impl RefUnwindSafe for HtmlParseOptions
impl Send for HtmlParseOptions
impl Sync for HtmlParseOptions
impl Unpin for HtmlParseOptions
impl UnsafeUnpin for HtmlParseOptions
impl UnwindSafe for HtmlParseOptions
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