Struct slice_pool::SlicePool [] [src]

pub struct SlicePool<T>(_);

A thread-safe interface for allocating chunks in an owned slice.

Methods

impl<T> SlicePool<T>
[src]

Takes ownership of a slice with a chunkable interface

Allocates a new chunk in the slice.

Returns the pointer to the underlying slice.

Returns the size of the underlying slice.