[][src]Trait sauron_syntax::ToSyntax

pub trait ToSyntax {
    fn to_syntax(
        &self,
        buffer: &mut dyn Write,
        use_macros: bool,
        indent: usize
    ) -> Result; }

A trait to convert html string into sauron view syntax

Required methods

fn to_syntax(
    &self,
    buffer: &mut dyn Write,
    use_macros: bool,
    indent: usize
) -> Result

convert the html string into sauron view syntax

Loading content...

Implementations on Foreign Types

impl<MSG: 'static> ToSyntax for Node<MSG>[src]

impl<MSG: 'static> ToSyntax for Attribute<MSG>[src]

impl ToSyntax for Value[src]

impl<MSG: 'static> ToSyntax for Element<MSG>[src]

Loading content...

Implementors

Loading content...