Crate imperat_common

Crate imperat_common 

Source

Structs§

Dep
A dependency which can be automatically resolved at runtime by its unique type.
TypeMap
Nearly 1-to-1 with this blog: https://nickbryan.co.uk/software/using-a-type-map-for-dependency-injection-in-rust/ A TypeMap uniquely stores an arbitrary value by its type. No types can store more than one value.

Traits§

FromTypeMap
A type which can be retrieved from a type map. Its type signature uniquely stores the type in the map.