pub fn initialize(&mut self, num_rows: usize, template_row: Row<T>)
    where
        T: Clone,
    {
        let mut new = vec![template_row; num_rows];

        let mut split = self.inner.split_off(self.zero);
        self.inner.append(&mut new);
        self.inner.append(&mut split);

        self.zero += num_rows;
        self.len += num_rows;
    }
/// Dynamically grow the storage buffer at runtime
Dynamically grow the storage buffer at runtime
Dynamically grow the storage buffer at runtime
pub fn initialize(&mut self, num_rows: usize, template_row: Row<T>)
    where
        T: Clone,
    {
        let mut new = vec![template_row; num_rows];
        let mut split = self.inner.split_off(self.zero);
        self.inner.append(&mut new);
        self.inner.append(&mut split);
        self.zero += num_rows;
        self.len += num_rows;
    }
pub fn initialize ( & mut self , num_rows : usize , template_row : Row < T > ) where T : Clone , { let mut new = vec ! [ template_row num_rows ] ; let mut split = self . inner . split_off ( self . zero ) ; self . inner . append ( & mut new ) ; self . inner . append ( & mut split ) ; self . zero += num_rows ; self . len += num_rows ; }
Dynamically grow the storage buffer at runtime
Dynamically grow the storage buffer at runtime
&mut self
num_rows
usize
template_row
Row<T>
&mut self
num_rows
usize
template_row
Row<T>