Skip to main content

VecPool

Type Alias VecPool 

Source
pub type VecPool<T> = Pool<Vec<T>>;
Expand description

Pool for reusing vector allocations.

Aliased Type§

pub struct VecPool<T> {
    entries: Vec<Vec<T>>,
    clear_on_submit: bool,
}

Fields§

§entries: Vec<Vec<T>>§clear_on_submit: bool