Trait dynamic_list::Index

source ·
pub trait Index<I> {
    type Output<'a>
       where Self: 'a;

    // Required method
    fn index(&self) -> Self::Output<'_>;
}

Required Associated Types§

source

type Output<'a> where Self: 'a

Required Methods§

source

fn index(&self) -> Self::Output<'_>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<V, N> Index<UTerm> for Node<V, N>

§

type Output<'a> = &'a V where Self: 'a

source§

impl<V, U, B, N> Index<UInt<U, B>> for Node<V, N>where U: Unsigned, B: Bit, N: NotEmpty + Index<Sub1<UInt<U, B>>>, UInt<U, B>: NonZero + Sub<B1>,

§

type Output<'a> = <N as Index<<UInt<U, B> as Sub<B1>>::Output>>::Output<'a> where Self: 'a

source§

impl<V, U: Unsigned, B: Bit> Index<UInt<U, B>> for Node<V>where UInt<U, B>: NonZero,

§

type Output<'a> = Empty where Self: 'a