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::values_mut
Wrapper for HashMap::iter_mut
Wrapper for HashMap::len
Wrapper for HashMap::is_empty
Wrapper for HashMap::clear
Wrapper for HashMap::reserve
Wrapper for HashMap::shrink_to_fit
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 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.
Trait Implementations
Extends a collection with the contents of an iterator. Read more
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more