Skip to main content

BumpVec

Type Alias BumpVec 

Source
pub type BumpVec<'a, T> = Vec<'a, T>;
Expand description

A growable vector allocated in the bump arena.

Use this for scratch collections that need push() during rendering. The memory is reclaimed when the arena is reset at frame boundaries.

Aliased Typeยง

pub struct BumpVec<'a, T> { /* private fields */ }