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

Vacant entry of a HashMap.

This contains the key used to search for this entry, and can read that key, or insert into the HashMap at that key, when provided a value.

Trait Implementations

Get a reference to the key an item will be inserted with.

Consume self and return the contained key.

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.