Struct concurrent_kv::Library
[−]
[src]
pub struct Library<K, V> where
K: LibraryKey, { /* fields omitted */ }
Methods
impl<K, V> Library<K, V> where
K: LibraryKey,
[src]
K: LibraryKey,
fn new() -> Self
fn with_capacity(capacity: usize) -> Self
fn get<Q: ?Sized>(&self, key: &Q) -> Option<Arc<V>> where
K: Borrow<Q>,
Q: Hash + Eq,
K: Borrow<Q>,
Q: Hash + Eq,
fn insert(&self, key: K, value: V)
fn map_concat<F>(&self, closure: F) -> String where
F: Fn(&K, &V) -> String,
F: Fn(&K, &V) -> String,
Trait Implementations
impl<K, V> Default for Library<K, V> where
K: LibraryKey,
[src]
K: LibraryKey,