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 - 1 because the tessellators can’t internally represent more
than u32::MAX - 1 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.