Lyricdev
GitHub

interface Index

pub interface Index<K>

The index operator: x[k] is x.index(k), the element a key or a position names.

The element's type is the conformer's Output. An array's and a view's index is built in.

Associated types

type Output

Methods

fn index(k: K): Self.Output