One of the more subtle aspects of Rust is how traits can be used as types ... trait Bar { fn bar(&self) -> Vec<Self>; } impl Bar for Foo { .
確定! 回上一頁