pub struct Html2Ppt { /* private fields */ }Expand description
HTML to PowerPoint converter
Implementations§
Source§impl Html2Ppt
impl Html2Ppt
pub fn new() -> Self
pub fn with_options(options: HtmlParseOptions) -> Self
Sourcepub fn parse(&self, html: &str) -> Result<Vec<SlideContent>, String>
pub fn parse(&self, html: &str) -> Result<Vec<SlideContent>, String>
Parse an HTML string into slide content
Sourcepub fn parse_file(&self, path: &str) -> Result<Vec<SlideContent>, String>
pub fn parse_file(&self, path: &str) -> Result<Vec<SlideContent>, String>
Parse HTML from a file path
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Html2Ppt
impl RefUnwindSafe for Html2Ppt
impl Send for Html2Ppt
impl Sync for Html2Ppt
impl Unpin for Html2Ppt
impl UnsafeUnpin for Html2Ppt
impl UnwindSafe for Html2Ppt
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