Struct pretty::BoxAllocator[][src]

pub struct BoxAllocator;

Trait Implementations

impl<'a, A> DocAllocator<'a, A> for BoxAllocator
[src]

Allocate an empty document.

Allocate a single newline.

Allocate a single space.

Allocate a document containing the text t.to_string(). Read more

Allocate a document containing the given text. Read more

Allocate a document concatenating the given documents.

Allocate a document that intersperses the given separator S between the given documents [A, B, C, ..., Z], yielding [A, S, B, S, C, S, ..., S, Z]. Read more

Auto Trait Implementations