Trait SpecExtendFromWithin
pub(in ::collections::vec_deque) trait SpecExtendFromWithin
Associated functions have the following preconditions:
srcneeds to be a valid range:src.start <= src.end <= self.len().- The buffer must have enough spare capacity:
self.capacity() - self.len() >= src.len().
Required Methods
unsafe fn spec_extend_from_within(&mut self, src: Range<usize>)unsafe fn spec_prepend_from_within(&mut self, src: Range<usize>)
Implementors
impl<T: Clone, A: Allocator> SpecExtendFromWithin for VecDeque<T, A>impl<T: TrivialClone, A: Allocator> SpecExtendFromWithin for VecDeque<T, A>