pub trait Index: Copy + Eq {
const ZERO: Self;
// Required methods
fn advance(&mut self);
fn is_within(self, capacity: NonZero<u16>) -> bool;
}Expand description
Exact native buffer identity and its nonzero storage bounds.
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".