Crate combine_traits

source ·

Macros

Macro to generate a new trait which just combines other already existing traits. Including an default implementation for every type which fulfills the “sub traits” It requires the name of the new trait as the first argument and the traits the new ones are based on as the second argument