pub trait UIPatternModel: Debug {
Show 19 methods
fn get_cell(&mut self, row: usize, col: usize) -> Option<&str>;
fn is_col_note(&self, col: usize) -> bool;
fn is_col_step(&self, col: usize) -> bool;
fn is_col_gate(&self, col: usize) -> bool;
fn rows(&self) -> usize;
fn cols(&self) -> usize;
fn set_rows(&mut self, rows: usize);
fn clear_cell(&mut self, row: usize, col: usize);
fn set_col_note_type(&mut self, col: usize);
fn set_col_step_type(&mut self, col: usize);
fn set_col_value_type(&mut self, col: usize);
fn set_col_gate_type(&mut self, col: usize);
fn set_cell_value(&mut self, row: usize, col: usize, val: u16);
fn get_cell_value(&mut self, row: usize, col: usize) -> u16;
fn set_cursor(&mut self, row: usize, col: usize);
fn get_cursor(&self) -> (usize, usize);
fn set_edit_step(&mut self, es: usize);
fn get_edit_step(&mut self) -> usize;
fn get_generation(&self) -> usize;
}