pub struct DummyHashMapRawVacantEntry<'c, K, V> { /* private fields */ }
Expand description

Raw vacant entry of a HashMap.

This is acquired from the get_raw_entry method, and can insert into the HashMap when provided a (K, V) tuple where K hashes to the hash used to aquire this entry. Inserting with a (K, V) tuple gives a DummyHashMapOccupiedEntry

Trait Implementations

The type of OccupiedEntry we convert to when inserting.

The type of values in the collection.

insert the val using the owned key, returning the occupied entry

insert the val using the owned key. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.