[][src]Struct ccl::nestedmap::VacantEntry

pub struct VacantEntry<'a, K: Hash + Eq, V> { /* fields omitted */ }

Methods

impl<'a, K: Hash + Eq, V> VacantEntry<'a, K, V>[src]

pub fn new(guard: Guard, map: &'a NestedMap<K, V>, key: K) -> Self[src]

pub fn insert(self, value: V)[src]

pub fn into_key(self) -> K[src]

pub fn key(&self) -> &K[src]

impl<'a, K: Hash + Eq + Clone, V> VacantEntry<'a, K, V>[src]

pub fn insert_with_ret(self, value: V) -> (&'a NestedMap<K, V>, Guard, K)[src]

Auto Trait Implementations

impl<'a, K, V> !Send for VacantEntry<'a, K, V>

impl<'a, K, V> !Sync for VacantEntry<'a, K, V>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T[src]