/// A trait representing read-only multidimensional array storage.
pubtraitStorage<T> {/// Returns a reference to the underlying elements as a slice.
fnas_slice(&self)->&[T];/// Returns the number of physical elements in the storage.
#[inline]fnlen(&self)->usize{self.as_slice().len()}/// Returns true if the storage contains no elements.
#[inline]fnis_empty(&self)->bool{self.len()==0}}/// A trait representing mutable multidimensional array storage.
pubtraitStorageMut<T>: Storage<T> {/// Returns a mutable reference to the underlying elements as a slice.
fnas_mut_slice(&mutself)->&mut[T];}