Sendable hash maps. Very much a work in progress.
SendMap
send_map::linear
- Open addressing with linear probing.SendMap
insert
fn insert(k: K, +v: V) -> bool
remove
fn remove(k: &K) -> bool
pop
fn pop(k: &K) -> Option<V>
swap
fn swap(k: K, +v: V) -> Option<V>
consume
fn consume(f: &fn(K, V))
clear
fn clear()
len
fn len() -> uint
is_empty
fn is_empty() -> bool
contains_key
fn contains_key(k: &K) -> bool
each
fn each(blk: &fn(k: &K, v: &V) -> bool)
each_key_ref
fn each_key_ref(blk: &fn(k: &K) -> bool)
each_value_ref
fn each_value_ref(blk: &fn(v: &V) -> bool)
find
fn find(k: &K) -> Option<V>
get
fn get(k: &K) -> V
find_ref
fn find_ref(k: &K) -> Option<&self /V>
get_ref
fn get_ref(k: &K) -> &self /V