Struct qp_trie::VacantEntry
[−]
[src]
pub struct VacantEntry<'a, K: 'a, V: 'a> { /* fields omitted */ }
A vacant entry in the trie.
Methods
impl<'a, K: 'a + Borrow<[u8]>, V: 'a> VacantEntry<'a, K, V>
[src]
fn key(&self) -> &K
[src]
Get a reference to the key associated with this vacant entry.
fn into_key(self) -> K
[src]
Consume the vacant entry to produce the associated key.
fn insert(self, val: V) -> &'a mut V
[src]
Insert a value into the vacant entry, returning a mutable reference to the newly inserted value.