[][src]Trait codespan::Index

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

Loading content...


impl Index for ByteIndex[src]

impl Index for ColumnIndex[src]

impl Index for LineIndex[src]

Loading content...