[−][src]Crate transit_model_collection
Collections of objects with typed indices and buildin identifier support.
Macros
impl_id | Implements the Id trait for an object. For example, if an object Animal has
a field 'species_id' which is a pointer toward another Object of type
Species, you can implements Id with the following example. You can also
implement Id for Animal itself (the identifier of an Animal is it's own
field that must be named |
Structs
Collection | The |
CollectionWithId | A |
Idx | Typed index. |
RefMut | The structure returned by |
Traits
Id | An object that has a unique identifier. |
WithId |
Type Definitions
Error | The error type used by the crate. |
Iter | The type returned by |
Result | The corresponding result type used by the crate. |