pub trait MaxIndex {
const MAX: usize;
}Expand description
Provides the maximum value of an index.
This should be the maximum value representable by the index type up to u32::MAX because the tessellators can’t internally represent more than u32::MAX indices.
Required Associated Constants§
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.