Defines a polymorphic allocator type. This crate provides the type Polymorphic<'alloc>
, which can wrap an allocator
of any Sized
type. This type is akin to dyn Allocator + 'alloc
, but without requiring external storage.
Defines a polymorphic allocator type. This crate provides the type Polymorphic<'alloc>
, which can wrap an allocator
of any Sized
type. This type is akin to dyn Allocator + 'alloc
, but without requiring external storage.