Leko says to YSITD 例如 trait A { fn a(&self) -> i32; } trait B { fn b(&self) -> i32; } trait AB{ fn a(&self) -> i32; fn b(&self) -> i32; } struct foo; impl AB for foo; fn bar<T: A+B>(_: T); bar(foo) 會動ㄇ