Trait alloc::vec::ExtendFromWithinSpec
source · trait ExtendFromWithinSpec {
// Required method
unsafe fn spec_extend_from_within(&mut self, src: Range<usize>);
}
Required Methods§
sourceunsafe fn spec_extend_from_within(&mut self, src: Range<usize>)
unsafe fn spec_extend_from_within(&mut self, src: Range<usize>)
Safety
src
needs to be valid indexself.capacity() - self.len()
must be>= src.len()