Rust 中的一些标准库,TOCRust中的智能指针BoxBox允许将一个值放在堆上而不是栈上, ... ConsList(2, Nil))) enum List { Cons(i32, Box<List>), Nil, } ...
確定! 回上一頁