pub trait Render<'a, T> {
type Error;
// Required methods
fn write_all(&mut self, s: &[T]) -> Result<(), Self::Error>;
fn fail_doc(&self) -> Self::Error;
}Expand description
Trait representing the operations necessary to render a document