Crate adts

Source
Expand description

Common collection interfaces and implementations.

Macros§

Cons
Returns the concrete Cons type signature for the provided types.
cons
Constructs a Cons based on the values or identifiers passed in.

Structs§

AnyMap
A type-safe associative array of unique types to values.
GenIndexMap
An associative array that uses GenIndex as keys to elements and stores data in a backing map.
Here
Used as an index into a Cons.
MapJoinIter
Iterator adaptor that inner joins 2 maps.
MapJoinLeftExclIter
Iterator adaptor that left exclusive joins 2 maps.
MapJoinLeftIter
Iterator adaptor that left joins 2 maps.
PagedSlotMap
Paged generational index slot map.
SparseSet
An associative array that uses a dense and a sparse vector to map keys to elements.
There
Used as an index into a Cons.
VecMap
An associative array that uses a Vec of Options to map usize keys to elements.

Enums§

AnyMapKey
Key of a [Registry].

Traits§

Clear
Operation to clear a collection.
Concat
Trait for object concatenation.
Cons
Trait for a Cons.
ConsGetter
Trait for getting a Cons element by type.
Downcast
Any-like trait object pointer type that can be downcasted to underlying types.
IntoDowncast
Trait for conversion of self into a Downcast type.
IntoRev
Trait for reversing self.
Len
A collection with length measure.
Map
A key-value map.
MapGet
Getter for a map.
MapInsert
Operation to insert into a map.
MapJoin
Iterator trait for joining with MapGets and MapMuts.
MapMut
Mutator for a map.
Pop
Operation to pop value from collection.
Push
Operation to push new value into collection.
Retain
Operation to decide which collection elements to retain.

Type Aliases§

GenIndexBTreeMap
A GenIndexMap backed by a BTreeMap.
GenIndexHashMap
A GenIndexMap backed by a std::collections::HashMap.
GenIndexVecMap
A GenIndexMap backed by a VecMap.