Function prepend_reversed
pub(in ::collections::vec_deque::spec_extend) unsafe fn prepend_reversed<T, A: Allocator>(deque: &mut VecDeque<T, A>, slice: &[T])
Prepends elements of slice to deque in reverse order using a copy.
Safety
dequemust have space forslice.len()new elements.- Elements of
slicewill be copied into the deque, make sure to forget the elements ifTis notCopy.