pub trait DocPtr<'a, A>: Deref<Target = Doc<'a, Self, A>> + Sizedwhere
A: 'a,{
type ColumnFn: Deref<Target = dyn Fn(usize) -> Self + 'a> + Clone + 'a;
type WidthFn: Deref<Target = dyn Fn(isize) -> Self + 'a> + Clone + 'a;
}
Required Associated Types§
type ColumnFn: Deref<Target = dyn Fn(usize) -> Self + 'a> + Clone + 'a
type WidthFn: Deref<Target = dyn Fn(isize) -> Self + 'a> + Clone + 'a
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.