[][src]Trait scanmut::InsertSliceCopy

pub trait InsertSliceCopy<T: Copy>: InsertSliceClone<T> {
    pub fn insert_slice_copy(&mut self, index: usize, slice: &[T]);
}

ScanMut extension trait for Vecs 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 this Vec.
Loading content...

Implementations on Foreign Types

impl<T: Copy> InsertSliceCopy<T> for Vec<T>[src]

Loading content...

Implementors

Loading content...