Struct slice_pool::SlicePoolRef [] [src]

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

An interface for allocating chunks in a referenced slice.

Methods

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

Wraps 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.