[][src]Trait pretty::Render

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

    fn write_str_all(&mut self, s: &str) -> Result<(), Self::Error> { ... }
}

Trait representing the operations necessary to render a document

Associated Types

type Error

Loading content...

Required methods

fn write_str(&mut self, s: &str) -> Result<usize, Self::Error>

Loading content...

Provided methods

fn write_str_all(&mut self, s: &str) -> Result<(), Self::Error>

Loading content...

Implementors

impl<W> Render for FmtWrite<W> where
    W: Write
[src]

type Error = Error

impl<W> Render for IoWrite<W> where
    W: Write
[src]

type Error = Error

impl<W> Render for TermColored<W> where
    W: Write
[src]

type Error = Error

Loading content...