pub struct AnyTypeMap(_);
Expand description

A typemap that can store any type (implementing std::any::Any).

Trait Implementations

Formats the value using the given formatter. Read more

Creates a value from an iterator. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Creates a new typemap

Inserts a value into the typemap with the given key

Returns a reference to a value from the type map with the given provided key

Returns a mutable reference to a value from the type map with the given provided key

Removes a value from the map for the given key

Returns if the map contains a given key

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.