我正在尝试实现一个链表来理解Rust中的智能指针。我定义了一个Node:使用std :: {cell :: RefCell,rc :: Rc}; struct Node {val:i32,next:Option.
確定! 回上一頁