Method lrs::vec::Vec::with_pool

Creates a new allocating vector with a memory pool.

Syntax

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

Arguments

NameDescription
pool

The pool to draw memory from.