Traits can be implemented for any kind of type, not only structures. IT wouldn't make sense to require that &SomeType , (u8, u32) or [u32; 42] ...
確定! 回上一頁