Trait DynDenseStoRef
mop_structs::prelude
pub trait DynDenseStoRef: StDenseStoRef { fn capacity(&self) -> usize; }
Dynamic Indexed Storage - Reference
fn capacity(&self) -> usize
impl<T> DynDenseStoRef for Vec<T>
impl<A> DynDenseStoRef for VecArray<A> where A: Array,
use mop_structs::{ doc_tests::vec_array, prelude::*, }; assert_eq!(vec_array().capacity(), 16);