Struct slice_pool::SlicePool [] [src]

pub struct SlicePool<'a, T: 'a>(_);

An interface for allocating chunks in a slice.

Methods

impl<'a, T> SlicePool<'a, T>
[src]

Wraps a slice with a chunkable interface.

Allocates a new chunk in the slice.

Returns the number of chunks in the slice.