/// Safely inserts a slice of data, starting at the size.
Safely inserts a slice of data, starting at the size.
Safely inserts a slice of data starting at the size .
pub fn insert_slice(&mut self, slice: &[T]){
        for elem in slice{
            self.push(elem.clone());
        }
    }
pub fn insert_slice ( & mut self , slice : & [ T ] ) { for elem in slice { self . push ( elem . clone ( ) ) ; } }
Safely inserts a slice of data, starting at the size.
Safely inserts a slice of data starting at the size .
&mut self
slice
&[T]