[][src]Trait html5minify::Minify

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

Defines the minify trait.

Required methods

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

Minifies the source returning the minified HTML5.

Errors

Will return Err if unable to read from the input reader or unable to write to the output writer.

Loading content...

Implementors

impl<T> Minify for T where
    T: AsRef<[u8]>, 
[src]

Loading content...