Module object_chain

Source
Expand description

Create static chains of objects with different types.

In general, the chain starts (or ends, depending on your view) with a Chain element and is built up from any number of Links. This basic structure only allows you to query the number of elements, but you can implement a more useful trait for both Link and Chain to make this structure more useful.

Structs§

Chain
This piece marks the end of a chain
Link
This piece of the chain contains some object

Traits§

ChainElement
A generic chain element