Trait graph::index::Idx[][src]

pub trait Idx: Copy + Add<Output = Self> + AddAssign + Sub<Output = Self> + Div<Output = Self> + Mul<Output = Self> + Ord + Debug + Send + Sum + Sync + Sized + Step + 'static {
    type Atomic: AtomicIdx<Inner = Self>;
    fn new(idx: usize) -> Self;
fn zero() -> Self;
fn index(self) -> usize;
fn atomic(self) -> Self::Atomic;
fn parse(bytes: &[u8]) -> (Self, usize); }

Associated Types

Required methods

Implementations on Foreign Types

Implementors