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]

Construct a new in-memory Idx

[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

Trait Implementations

Auto Trait Implementations

impl<K, V> Send for Idx<K, V>

impl<K, V> Sync for Idx<K, V>