Struct dfb::Dfb[][src]

pub struct Dfb(_);
Expand description

An “anymap” which uses TypeIDs as keys and VecDeques of that type as values.

Implementations

Creates a Dfb backed by HashMap::new

Creates a Dfb backed by HashMap::with_capacity

Wrapper for HashMap::capacity

Wrapper for HashMap::keys

Wrapper for HashMap::values

Wrapper for HashMap::values_mut

Wrapper for HashMap::iter

Wrapper for HashMap::iter_mut

Wrapper for HashMap::len

Wrapper for HashMap::is_empty

Wrapper for HashMap::drain

Wrapper for HashMap::clear

Wrapper for HashMap::reserve

Generic wrapper for HashMap::entry

Generic wrapper for HashMap::get_key_value

Generic wrapper for HashMap::insert. If one or more values of this type already exist in the map, this will push a new value into the FIFO that contains them. If no value exists, this will create a new FIFO containing the inserted element.

Like Dfb::insert, but allows boxed values of unknown type.

Generic wrapper for HashMap::remove. Returns and removes the earliest inserted element of this type if it exists. If the element returned was the last remaining element of its type, the internal FIFO for this type is deleted.

Wrapper for HashMap::retain

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Extends a collection with the contents of an iterator. Read more

🔬 This is a nightly-only experimental API. (extend_one)

Extends a collection with exactly one element.

🔬 This is a nightly-only experimental API. (extend_one)

Reserves capacity in a collection for the given number of additional elements. Read more

Performs the conversion.

Creates a value from an iterator. Read more

Creates a value from an iterator. Read more

The returned type after indexing.

Performs the indexing (container[index]) operation. 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

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

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

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

Performs the conversion.

Performs the conversion.

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.