doc.rust-lang.org
网页
综合
Vec in std::vec - Rust
…s in the Vec. A Vec can be mutable. On the other hand, slices are read-only objects. To get a slice, use &. Example: In Rust, it’s more common to pass slices as arguments rather than vectors…
2026-11-13
自动蜘蛛
相关度 3.1