pub trait ComputableSizedVecAccessor<V> {
    // Required method
    fn get_or_compute(&self, index: usize) -> AsmResult<Arc<V>>;
}Required Methods§
Sourcefn get_or_compute(&self, index: usize) -> AsmResult<Arc<V>>
 
fn get_or_compute(&self, index: usize) -> AsmResult<Arc<V>>
Get the value at the index, compute value if needed.
Returns [AsmErr::OutOfRange] if the index is out of range.