pub struct MaybeUninitEntry<'c, T, const OCCUPIED: bool>(_);

Trait Implementations

source

fn recover_removed_entry(removed: Self::Removed) -> Entry<Self, Self::Vacant>

the type of the values in the collection

get the value, immutably borrowed.

get the value, mutably borrowed.

convert the entry into a mutable to the value.

replace the value in the entry, returning the old value.

The type returned when removing the OccupiedEntry

remove this entry from the collection, converting the entry into a Self::Removed and returning the value that was there. Read more

remove this entry from the collection, consuming the entry and returning the value that was there. Read more

remove this entry, returning a value and a vacant entry.

The type of values in the collection.

The type of OccupiedEntry we convert to when inserting.

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.