Enum tinyset::tinymap::TinyMap [] [src]

pub enum TinyMap<K: Hash + Eq, T> {
    Sm(Vec<(K, T)>),
    V(FnvHashMap<K, T>),
}

Small set?

Variants

should be private

should be private

Methods

impl<K: Hash + Eq, T> TinyMap<K, T>
[src]

new

len

insert

has key

has key

get

get

return iterator over key/value pairs

return iterator over keys

return iterator over values

return iterator over mutable values

Trait Implementations

impl<K: Debug + Hash + Eq, T: Debug> Debug for TinyMap<K, T>
[src]

Formats the value using the given formatter.

impl<K: Clone + Hash + Eq, T: Clone> Clone for TinyMap<K, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more