We do this by implementing a new trait ToFoo for both types, ... trait ToFoo<'a> { fn to_foo(&'a self) -> Vec<String>; } impl<'a> ToFoo<'a> ...
確定! 回上一頁