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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.