If I have a long list of type bounds that must be repeated in many places, how can I give them a name?
For example, what if instead of:
fn foo<T: Thing>(t: T) -> T
where T: Copy, T: Debug { ... }
I want to write:
fn foo<T: Thing>(t: T) -> T
where T: CopyDebug { ... }
where CopyDebug
is defined to be Copy+Debug
?