pub trait AsIx3 {
// Required method
fn as_ix3(self) -> Dim<[usize; 3]>;
}Expand description
Trait for converting a type into a 3-dimensional index (Ix3).
This trait is implemented for various types, allowing them to be converted into a 3D index, which is useful for indexing into 3D arrays or grids.