Lyricdev
GitHub

interface IndexSet

pub interface IndexSet<K> :: [Index<K>]

Conforms to Index<K>.

The index assignment: x[k] = v is x.setIndex(k, v).

x[k] += 1 reads and writes, x and k evaluated once.

Methods

mut fn setIndex(k: K, v: Self.Output): void