[−][src]Trait agnes::label::TakeElemByNat
Take an element from a cons-list using typenum
natural number.
Associated Types
Loading content...Required methods
Loading content...Implementors
impl<H, T> TakeElemByNat<UTerm> for Cons<H, T>
[src]
impl<H, T> TakeElemByNat<UInt<UTerm, B1>> for Cons<H, T> where
T: TakeElemByNat<UTerm>,
[src]
T: TakeElemByNat<UTerm>,
type Elem = <T as TakeElemByNat<UTerm>>::Elem
type Rest = Cons<H, <T as TakeElemByNat<UTerm>>::Rest>
fn take_elem(self) -> (Self::Elem, Self::Rest)
[src]
impl<H, T, N> TakeElemByNat<UInt<N, B0>> for Cons<H, T> where
N: Sub<B1>,
T: TakeElemByNat<UInt<Sub1<N>, B1>>,
[src]
N: Sub<B1>,
T: TakeElemByNat<UInt<Sub1<N>, B1>>,
type Elem = <T as TakeElemByNat<UInt<Sub1<N>, B1>>>::Elem
type Rest = Cons<H, <T as TakeElemByNat<UInt<Sub1<N>, B1>>>::Rest>
fn take_elem(self) -> (Self::Elem, Self::Rest)
[src]
impl<H, T, N, B> TakeElemByNat<UInt<UInt<N, B>, B1>> for Cons<H, T> where
T: TakeElemByNat<UInt<UInt<N, B>, B0>>,
[src]
T: TakeElemByNat<UInt<UInt<N, B>, B0>>,