[−][src]Trait copyless::VecHelper
Helper trait for a Vec
type that allocates up-front.
Required methods
fn alloc(&mut self) -> VecAllocation<T>
Growns the vector by a single entry, returning the allocation.
fn entry(&mut self, index: usize) -> VecEntry<T>
Either returns an existing elemenet, or grows the vector by one. Doesn't expect indices to be higher than the current length.