Trait codespan::Index [] [src]

pub trait Index: Copy + Ord where
    Self: Add<Self::Offset, Output = Self>,
    Self: AddAssign<Self::Offset>,
    Self: Sub<Self::Offset, Output = Self>,
    Self: SubAssign<Self::Offset>,
    Self: Sub<Self, Output = Self::Offset>, 
{ type Offset: Offset; }

Index types

These can be thought of as 1-dimensional points

Associated Types

Implementors