The contents of a Vec<T> is, regardless of T , a single heap allocation, of self.capacity() * std::mem::size_of::<T>() bytes.
確定! 回上一頁