Trait html_minifier::HTMLWriter[][src]

pub trait HTMLWriter {
    fn push(&mut self, e: u8) -> Result<(), HTMLMinifierError>;
fn push_bytes(&mut self, bytes: &[u8]) -> Result<(), HTMLMinifierError>; }

Implement this trait to build a HTML writer.

Required methods

fn push(&mut self, e: u8) -> Result<(), HTMLMinifierError>[src]

fn push_bytes(&mut self, bytes: &[u8]) -> Result<(), HTMLMinifierError>[src]

Loading content...

Implementors

impl<W: Write> HTMLWriter for W[src]

fn push(&mut self, e: u8) -> Result<(), HTMLMinifierError>[src]

fn push_bytes(&mut self, bytes: &[u8]) -> Result<(), HTMLMinifierError>[src]

Loading content...