由於Rust 沒有null pointer,但照鏈結串列的定義, Node.next 可以是NULL,因此我們使用 ... IterMut :產生 &mut T ,實作提供mutable borrow 的 Iterator trait。
確定! 回上一頁