[−][src]Trait scanmut::InsertSliceCopy
ScanMut extension trait for Vec
s with copyable items.
Required methods
pub fn insert_slice_copy(&mut self, index: usize, slice: &[T])
[src]
Inserts items from a slice at the given index by copying elements.
Panics
Panics if
- The range
index..(index + slice.len())
is out of bounds for thisVec
.