pub trait Index: Copy + Ordwhere
Self: Add<Self::Offset, Output = Self> + AddAssign<Self::Offset> + Sub<Self::Offset, Output = Self> + SubAssign<Self::Offset> + Sub<Self, Output = Self::Offset>,{
type Offset: Offset;
}Expand description
Index types
These can be thought of as 1-dimensional points
Required Associated Types§
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.