pub struct PatternData { /* private fields */ }Implementations§
Source§impl PatternData
impl PatternData
pub fn is_unset(&self) -> bool
pub fn to_repr(&self) -> PatternRepr
pub fn from_repr(&mut self, repr: &PatternRepr)
pub fn get_out_data(&self) -> &[[(f32, u8); 256]]
pub fn col_is_modified_reset(&mut self, col: usize) -> bool
pub fn col_type(&self, col: usize) -> PatternColType
pub fn sync_out_data(&mut self, col: usize)
Trait Implementations§
Source§impl Debug for PatternData
impl Debug for PatternData
Source§impl UIPatternModel for PatternData
impl UIPatternModel for PatternData
fn get_cell(&mut self, row: usize, col: usize) -> Option<&str>
fn clear_cell(&mut self, row: usize, col: usize)
fn get_cell_value(&mut self, row: usize, col: usize) -> u16
fn set_cell_value(&mut self, row: usize, col: usize, val: u16)
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 cols(&self) -> usize
fn rows(&self) -> usize
fn set_rows(&mut self, rows: 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_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
Auto Trait Implementations§
impl Freeze for PatternData
impl RefUnwindSafe for PatternData
impl Send for PatternData
impl Sync for PatternData
impl Unpin for PatternData
impl UnwindSafe for PatternData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more