pub trait Offset: Copy + Ordwhere
Self: Neg<Output = Self> + Add<Self, Output = Self> + AddAssign<Self> + Sub<Self, Output = Self> + SubAssign<Self>,{
const ZERO: Self;
}
Expand description
A relative offset between two indices
These can be thought of as 1-dimensional vectors
Required Associated Constants§
Object Safety§
This trait is not object safe.