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. For an example, check the
test_accessing_elements_with_common_interface
test in the source code.
Macros§
- chain
- Creates an object chain from the argument types.
Structs§
Traits§
- Chain
Element - A generic chain element