Method lrs::ringbuf::DynRingBuf::with_pool

Creates a new ring buffer with a memory pool.

Syntax

impl<T, H> DynRingBuf<T, H>
    where H: Allocator,
{
    fn with_pool(pool: <H as Allocator>::Pool) -> DynRingBuf<T, H>
}

Arguments

NameDescription
pool

The pool to draw memory from.