pub trait PushManyUnchecked<T> {
// Required method
unsafe fn push_many_unchecked(&mut self, value: T, count: usize);
}Expand description
A trait to push many times without the capacity check.
Required Methods§
Sourceunsafe fn push_many_unchecked(&mut self, value: T, count: usize)
unsafe fn push_many_unchecked(&mut self, value: T, count: usize)
Appends an element count times to the back of a collection without
the capacity check.
§Safety
The capacity of the collection must be sufficient for the new items.