Trait pretty::Render[][src]

pub trait Render {
    type Error;
    fn write_str(&mut self, s: &str) -> Result<usize, Self::Error>;
fn fail_doc(&self) -> Self::Error; fn write_str_all(&mut self, s: &str) -> Result<(), Self::Error> { ... } }
Expand description

Trait representing the operations necessary to render a document

Associated Types

Required methods

Provided methods

Implementors