Index

Trait Index 

Source
pub trait Index<N: Nat> {
    type Item;
}

Required Associated Types§

Implementors§

Source§

impl<H, T> Index<Zero> for Cons<H, T>

Source§

type Item = H

Source§

impl<H, T, N: Nat> Index<Succ<N>> for Cons<H, T>
where T: Index<N>,

Source§

type Item = <T as Index<N>>::Item