pub trait Resizable {
    fn swap(&mut self, lhs: Position, rhs: Position);
    fn swap_row(&mut self, lhs: usize, rhs: usize);
    fn swap_column(&mut self, lhs: usize, rhs: usize);
    fn push_row(&mut self);
    fn push_column(&mut self);
    fn remove_row(&mut self, row: usize);
    fn remove_column(&mut self, column: usize);
    fn insert_row(&mut self, row: usize);
}
Expand description

A Grid representation of a data set which can be modified by moving rows/columns around.

Required Methods

Swap cells with one another.

Swap rows with one another.

Swap columns with one another.

Adds a new row to a data set.

Adds a new column to a data set.

Removes a row from a data set by index.

Removes a column from a data set by index.

Inserts a row to specific by row index.

Implementors