Struct dimsum::MultiDim
[−]
[src]
pub struct MultiDim<T: Clone> { /* fields omitted */ }
Methods
impl<T: Clone> MultiDim<T>
[src]
fn new(dim: &[usize], init: T) -> Self
fn set(&mut self, dim: &[usize], val: T) -> Result<(), DimError>
fn get(&self, dim: &[usize]) -> Result<&T, DimError>
Trait Implementations
impl<T: Debug + Clone> Debug for MultiDim<T>
[src]
impl<T: Clone + Clone> Clone for MultiDim<T>
[src]
fn clone(&self) -> MultiDim<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more