pretty

Trait StaticDoc

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

Required Associated Constants§

source

const ALLOCATOR: &'static Self::Allocator

Required Associated Types§

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, A> StaticDoc<'a, A> for BoxDoc<'a, A>

source§

impl<'a, A> StaticDoc<'a, A> for RcDoc<'a, A>