Struct anymap::raw::VacantEntry [] [src]

pub struct VacantEntry<'a, A: ?Sized + UncheckedAnyExt> { /* fields omitted */ }

A view into a single empty location in a RawMap.

Methods

impl<'a, A: ?Sized + UncheckedAnyExt> VacantEntry<'a, A>
[src]

Sets the value of the entry with the VacantEntry's key, and returns a mutable reference to it

It is the caller’s responsibility to ensure that the key of the entry corresponds with the type ID of value. If they do not, memory safety may be violated.

Trait Implementations

Auto Trait Implementations

impl<'a, A> !Send for VacantEntry<'a, A>

impl<'a, A> !Sync for VacantEntry<'a, A>