Struct idx::Idx [] [src]

pub struct Idx<K: Copy + PartialEq + Hash, V: Copy + Hash> { /* fields omitted */ }

An index mapping keys to values

Methods

impl<K: Copy + PartialEq + Hash, V: Copy + Hash> Idx<K, V>
[src]

[src]

Construct a new Idx given a path

[src]

Insert a new key-value pair into the index, if the key is already there, this is a no-op.

[src]

Get the value, if any, associated with key