pub trait Pretty<'a, D, A = ()> where
    A: 'a,
    D: ?Sized + DocAllocator<'a, A>, 
{ fn pretty(self, allocator: &'a D) -> DocBuilder<'a, D, A>; }
Expand description

Trait for types which can be converted to a Document

Required Methods

Converts self into a document

Implementations on Foreign Types

Implementors