doc.rust-lang.org
网页
综合
Vec in std::vec - Rust
…n’t in the Vec, your software will panic! You cannot do this: Use get and get_mut if you want to check whether the index is in the Vec. A Vec can be mutable. On the other hand, slices are re…
2026-11-13
自动蜘蛛
相关度 2.1