pub trait Dim {
// Required methods
fn to_index(&self, shape: &Shape, op: &'static str) -> Result<usize>;
fn to_index_plus_one(
&self,
shape: &Shape,
op: &'static str,
) -> Result<usize>;
}
pub trait Dim {
// Required methods
fn to_index(&self, shape: &Shape, op: &'static str) -> Result<usize>;
fn to_index_plus_one(
&self,
shape: &Shape,
op: &'static str,
) -> Result<usize>;
}