Rust · Class
Vec
Vec is Rust’s contiguous, growable array. It stores one element type and tracks both its current length and available capacity.
Last updated
- Since
- 1.0.0
Syntax
pub struct Vec<T, A = Global> where A: AllocatorIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
vec!Vec::newVec::with_capacityVec::lenVec::capacityVec::getVec::get_mutVec::push