ToDoc

Trait ToDoc 

Source
pub trait ToDoc {
    // Required method
    fn to_doc<'a>(&self) -> D<'a>;
}
Expand description

A type that can be pretty-printed.

Required Methods§

Source

fn to_doc<'a>(&self) -> D<'a>

Pretty prints the object, returning a doc.

Implementors§