slice_pool
pub struct SlicePool<T>(_);
An interface for allocating chunks in an owned slice.
impl<T> SlicePool<T>
fn new<Data: Sliceable<T> + 'static>(data: Data) -> Self
Takes ownership of a slice with a chunkable interface
fn allocate(&mut self, size: usize) -> Option<PoolVal<T>>
Allocates a new chunk in the slice.
fn len(&self) -> usize
Returns the size of the underlying slice.