pub trait Dims: Sized {
// Required method
fn to_indexes_internal(
self,
shape: &Shape,
op: &'static str,
) -> Result<Vec<usize>>;
// Provided method
fn to_indexes(self, shape: &Shape, op: &'static str) -> Result<Vec<usize>> { ... }
}
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.