Module embedded_layout::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 Link
s. 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
- This piece marks the end of a chain
- This piece of the chain contains some object
Traits
- A generic chain element