pub struct Transformer { /* private fields */ }
Expand description
The struct to transform Markdown tree to HTML tree.
Implementations§
Source§impl Transformer
impl Transformer
Source§impl Transformer
impl Transformer
Sourcepub fn transform<'a>(&self, tree: MarkdownTree<'a>) -> DocumentNode<'a>
pub fn transform<'a>(&self, tree: MarkdownTree<'a>) -> DocumentNode<'a>
Transform Markdown tree to HTML tree.
Trait Implementations§
Source§impl Clone for Transformer
impl Clone for Transformer
Source§fn clone(&self) -> Transformer
fn clone(&self) -> Transformer
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Transformer
impl Debug for Transformer
Auto Trait Implementations§
impl Freeze for Transformer
impl RefUnwindSafe for Transformer
impl Send for Transformer
impl Sync for Transformer
impl Unpin for Transformer
impl UnwindSafe for Transformer
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