Struct appendix::Index[][src]

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

An index mapping keys to values

Methods

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

Construct a new Index given a path

Construct a new in-memory Index

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

Get the value, if any, associated with key

Auto Trait Implementations

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

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