Struct ordermap::VacantEntry
[−]
[src]
pub struct VacantEntry<'a, K: 'a, V: 'a, S: 'a = RandomState> { /* fields omitted */ }
Methods
impl<'a, K, V, S> VacantEntry<'a, K, V, S>
[src]
impl<'a, K, V, S> VacantEntry<'a, K, V, S>
pub fn key(&self) -> &K
[src]
pub fn key(&self) -> &K
pub fn into_key(self) -> K
[src]
pub fn into_key(self) -> K
pub fn index(&self) -> usize
[src]
pub fn index(&self) -> usize
Return the index where the key-value pair will be inserted.
pub fn insert(self, value: V) -> &'a mut V
[src]
pub fn insert(self, value: V) -> &'a mut V
Trait Implementations
Auto Trait Implementations
impl<'a, K, V, S> Send for VacantEntry<'a, K, V, S> where
K: Send,
S: Send,
V: Send,
impl<'a, K, V, S> Send for VacantEntry<'a, K, V, S> where
K: Send,
S: Send,
V: Send,
impl<'a, K, V, S> Sync for VacantEntry<'a, K, V, S> where
K: Sync,
S: Sync,
V: Sync,
impl<'a, K, V, S> Sync for VacantEntry<'a, K, V, S> where
K: Sync,
S: Sync,
V: Sync,