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