pub trait Offset: Copy + Ord where
Self: Neg<Output = Self>,
Self: Add<Self, Output = Self>,
Self: AddAssign<Self>,
Self: Sub<Self, Output = Self>,
Self: SubAssign<Self>, {
const ZERO: Self;
}
Expand description
A relative offset between two indices
These can be thought of as 1-dimensional vectors