pub struct Html<'buf> { /* private fields */ }
Expand description
HTML Content Exporter
Trait Implementations§
Source§impl<'buf> Exporter<'buf> for Html<'buf>
impl<'buf> Exporter<'buf> for Html<'buf>
Source§fn export(input: &str, conf: ConfigOptions) -> Result<String, Vec<ExportError>>
fn export(input: &str, conf: ConfigOptions) -> Result<String, Vec<ExportError>>
Writes the AST generated from the input into a
String
.Source§fn export_buf<'inp, T: Write>(
input: &'inp str,
buf: &'buf mut T,
conf: ConfigOptions,
) -> Result<(), Vec<ExportError>>
fn export_buf<'inp, T: Write>( input: &'inp str, buf: &'buf mut T, conf: ConfigOptions, ) -> Result<(), Vec<ExportError>>
Writes the AST generated from the input into a buffer that implements
Write
.fn export_tree<'inp, T: Write>( parsed: &Parser<'_>, buf: &'buf mut T, conf: ConfigOptions, ) -> Result<(), Vec<ExportError>>
Auto Trait Implementations§
impl<'buf> Freeze for Html<'buf>
impl<'buf> !RefUnwindSafe for Html<'buf>
impl<'buf> !Send for Html<'buf>
impl<'buf> !Sync for Html<'buf>
impl<'buf> Unpin for Html<'buf>
impl<'buf> !UnwindSafe for Html<'buf>
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