pretty

Trait RenderAnnotated

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

Trait representing the operations necessary to write an annotated document.

Required Methods§

Source

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

Source

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

Implementors§

Source§

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

Source§

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