pub trait AxisOrder: Sealed {
const CHANNEL_AXIS: usize;
// Required methods
fn channels(dim: (usize, usize)) -> usize;
fn frames(dim: (usize, usize)) -> usize;
fn index(channel: usize, frame: usize) -> (usize, usize);
}Expand description
Axis-order marker describing how the two array axes map to channels and frames.
Required Associated Constants§
Sourceconst CHANNEL_AXIS: usize
const CHANNEL_AXIS: usize
The array axis (0 or 1) along which the channel index runs.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".