Struct convec::AoVec
[−]
[src]
pub struct AoVec<T>(_);
Append only concurrent vector
Methods
impl<T> AoVec<T>
[src]
fn new() -> Self
[src]
Creates a new AoVece
fn len(&self) -> usize
[src]
Returns the length of the ConStack
.
fn push(&self, t: T) -> usize
[src]
Push an element to the AoVec
, returning its index
fn get(&self, i: usize) -> Option<&T>
[src]
Get value at index idx
unsafe fn get_unchecked(&self, i: usize) -> &T
[src]
Get value at index idx
, without checking bounds