Module luminance::chain
[−]
[src]
Generalized free tuples.
The Chain
type is used to create chain of types. Because Rust doesn’t support type
operators, Chain
is used to create static tuples that can have an arbitrary size while
remaining of the same form. That’s very useful to implement traits for any kind of types chain.
Feel free to dig in the documention of Chain
for further details.
Plus, if your compiler supports the type_macros
feature, you can use the chain!
macro to
build types chain without having to nest Chain
in each others, which is very handy.
Structs
Chain |
The generalized free tuple. |