pub trait KnotArray<const N: usize>: AxisLookup<N> {
// Required method
fn knots(&self) -> &'static [u16; N];
}Expand description
An axis whose knots are stored as one static array.
LinearAxis, BinaryAxis, and BucketedAxis implement it;
UniformAxis does not, because it stores no knots to hand out. It is what
keeps BilinearSurface::x_axis available
for the strategies that have an array, without inventing one for the
strategy that deliberately does not.
This trait is sealed for the same reason AxisLookup is.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".