[][src]Module transit_model::collection

Collections of objects with typed indices and buildin identifier support.

Structs

Collection

The Collection object looks like a Map<Idx<T>, T>, with opaque keys. Then, you can easily store indices and don't mess up between different types of indices.

CollectionWithId

A Collection with identifier support.

Idx

Typed index.

RefMut

The structure returned by CollectionWithId::index_mut.

Traits

Id

An object that has a unique identifier.

Type Definitions

Iter

The type returned by Collection::iter.