[][src]Trait html5minify::Minify

pub trait Minify {
    fn minify(&self) -> Result<String, Error>;
}

Defines the minify trait.

Required methods

fn minify(&self) -> Result<String, Error>

Minifies the source returning the minified HTML5.

Loading content...

Implementations on Foreign Types

impl Minify for str[src]

impl Minify for Node[src]

fn minify(&self) -> Result<String, Error>[src]

This trait implementation doesn't add the HTML5 doctype on the assumption it could be used to minify interior nodes.

Loading content...

Implementors

Loading content...