Auto dereferencing also works for any type implementing std::ops::Deref trait. let vec = vec![1, 2, 3]; let iterator = vec.iter();.
確定! 回上一頁