trait ExtendFromWithinSpec {
    // Required method
    unsafe fn spec_extend_from_within(&mut self, src: Range<usize>);
}

Required Methods§

source

unsafe fn spec_extend_from_within(&mut self, src: Range<usize>)

Safety
  • src needs to be valid index
  • self.capacity() - self.len() must be >= src.len()

Implementors§