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