Yes, there is, and you almost got it already. Traits are the way to go, but you don't need trait objects, use generics:
確定! 回上一頁