Struct idmap::table::DirectEntryTable
[−]
[src]
pub struct DirectEntryTable<K: IntegerId, V> { /* fields omitted */ }
Trait Implementations
impl<K: Debug + IntegerId, V: Debug> Debug for DirectEntryTable<K, V>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<K: Clone + IntegerId, V: Clone> Clone for DirectEntryTable<K, V>
[src]
fn clone(&self) -> DirectEntryTable<K, V>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<K: IntegerId, V> EntryTable<K, V> for DirectEntryTable<K, V>
[src]
fn new() -> Self
[src]
fn with_capacity(capacity: usize) -> Self
[src]
fn len(&self) -> usize
[src]
fn get(&self, key: &K) -> Option<&V>
[src]
fn get_mut(&mut self, key: &K) -> Option<&mut V>
[src]
fn insert(&mut self, key: K, value: V) -> Option<V>
[src]
fn insert_vacant(&mut self, key: K, value: V) -> &mut V
[src]
fn swap_remove(&mut self, key: &K) -> Option<V>
[src]
fn retain<F>(&mut self, func: F) where
F: FnMut(&K, &mut V) -> bool,
[src]
F: FnMut(&K, &mut V) -> bool,
Retain the specified entries in the map, returning if any indexes changed
fn clear(&mut self)
[src]
fn reserve(&mut self, amount: usize)
[src]
fn raw_debug(&self) -> &Debug where
K: Debug,
V: Debug,
[src]
K: Debug,
V: Debug,
fn max_id(&self) -> Option<u64>
[src]
fn cloned(&self) -> Self where
K: Clone,
V: Clone,
[src]
K: Clone,
V: Clone,
fn is_empty(&self) -> bool
[src]
impl<K: IntegerId, V> EntryIterable<K, V> for DirectEntryTable<K, V>
[src]
type Iter = UncheckedSparseEntryIter<K, V>
unsafe fn unchecked_entries(&self) -> Self::Iter
[src]
impl<K: IntegerId, V> IntoIterator for DirectEntryTable<K, V>
[src]
Auto Trait Implementations
impl<K, V> Send for DirectEntryTable<K, V> where
K: Send,
V: Send,
K: Send,
V: Send,
impl<K, V> Sync for DirectEntryTable<K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,