pub trait Indexer<S: Shape>: Debug {
// Required methods
fn index_checked(&self, shape: &S, strides: &S) -> Option<isize>;
fn index_unchecked(&self, shape: &S, strides: &S) -> isize;
}pub trait Indexer<S: Shape>: Debug {
// Required methods
fn index_checked(&self, shape: &S, strides: &S) -> Option<isize>;
fn index_unchecked(&self, shape: &S, strides: &S) -> isize;
}