[][src]Trait html5minify::Minify

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

Defines the minify trait.

Required methods

pub fn minify(&self) -> Result<Vec<u8>, Error>[src]

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...