Trait codespan::Index

source ·
pub trait Index: Copy + Ord
where 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§

Object Safety§

This trait is not object safe.

Implementors§