In newer versions of Rust, you can return an unnamed type that implements Deref : use std::ops::Deref; impl Foo { fn iter(&self) -> impl ...
確定! 回上一頁