如果一个 Vec 已分配了内存,那么它指向的内存在堆上(由分配器定义,Rust 被配置为默认 ... 调用 try_reserve 后,容量将大于或等于 self.len() + additional 。
確定! 回上一頁