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