[][src]Trait pretty::StaticDoc

pub trait StaticDoc<'a, A>: DocPtr<'a, A> where
    A: 'a, 
{ type Allocator: DocAllocator<'a, A, Doc = Self> + 'static; const ALLOCATOR: &'static Self::Allocator; }

Associated Types

type Allocator: DocAllocator<'a, A, Doc = Self> + 'static

Loading content...

Associated Constants

const ALLOCATOR: &'static Self::Allocator

Loading content...

Implementors

impl<'a, A> StaticDoc<'a, A> for BoxDoc<'a, A>[src]

type Allocator = BoxAllocator

impl<'a, A> StaticDoc<'a, A> for RcDoc<'a, A>[src]

type Allocator = RcAllocator

Loading content...