pub trait ValueIndex<Idx> {
    type Output;

    // Required method
    fn index(&self, index: Idx) -> Self::Output;
}
Expand description

A version of index for returning values instead of references

Required Associated Types§

Required Methods§

source

fn index(&self, index: Idx) -> Self::Output

Implementors§