Function zerocopy::extend_vec_zeroed
source · [−]Expand description
Extends a Vec<T>
by pushing additional
new items onto the end of the
vector. The new items are initialized with zeroes.
Panics
Panics if Vec::reserve(additional)
fails to reserve enough memory.