Is there a way to combine multiple traits in order to define a new trait? [duplicate]

Yep!

trait NewTrait: Clone + Default + OtherTraits {}
impl<T> NewTrait for T where T: Clone + Default + OtherTraits {}

Leave a Comment