Then Rc::new has to create an allocation and move my_struct a second time, from its own ... How to allocate arrays on the heap in Rust 1.0?
確定! 回上一頁