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

Implement this trait to build a HTML writer.

Required Methods§

source

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

source

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

Implementors§

source§

impl<W: Write> HTMLWriter for W