Trait insert_many::InsertMany [] [src]

pub trait InsertMany<T> {
    fn insert_many<I>(&mut self, index: usize, iterable: I)
    where
        I: IntoIterator<Item = T>,
        I::IntoIter: ExactSizeIterator
; }

Generalized trait for inserting many items at once.

Required Methods

Insert all the items in the given iterable at index, shifting all elements after it to the right.

Panics

This may panic if the ExactSizeIterator implementation is faulty.

Implementors