[][src]Trait pretty::RenderAnnotated

pub trait RenderAnnotated<A>: Render {
    fn push_annotation(&mut self, annotation: &A) -> Result<(), Self::Error>;
fn pop_annotation(&mut self) -> Result<(), Self::Error>; }

Trait representing the operations necessary to write an annotated document.

Required methods

fn push_annotation(&mut self, annotation: &A) -> Result<(), Self::Error>

fn pop_annotation(&mut self) -> Result<(), Self::Error>

Loading content...

Implementors

impl<A, W> RenderAnnotated<A> for FmtWrite<W> where
    W: Write
[src]

impl<A, W> RenderAnnotated<A> for IoWrite<W> where
    W: Write
[src]

impl<W> RenderAnnotated<ColorSpec> for TermColored<W> where
    W: WriteColor, 
[src]

Loading content...