Expand description
The syllogism crate defines the traits IsNot and Specialize that can be used in a
work-around to have some specialization in Rust.
These traits require a large amount of boilerplate.
The impl_specialization macro can be used to generate this boilerplate.
Macrosยง
- impl_
specialization - Procedural macro to allow
IsNot-based andSpecialize-based specialisation for a number of data-types, allowing handling each other data-type in the generic way.