pub trait Axis:
Copy
+ Debug
+ Default
+ Hash
+ Ord
+ Send
+ Sync {
type Dim<S: Shape>: Dim;
type Init<S: Shape>: Shape;
type Rest<S: Shape>: Shape;
type Remove<S: Shape>: Shape;
type Resize<D: Dim, S: Shape>: Shape;
// Required method
fn index(self, rank: usize) -> usize;
}Expand description
Array axis trait, for subarray shapes.
Required Associated Types§
Required 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.