pub struct IndexCell {
pub iid: Rc<str>,
pub val: Val,
pub vals: MaxMap<TableCell>,
pub dim: u64,
pub vis: bool,
pub par: Rc<str>,
pub chn: Vec<Rc<str>>,
pub open: bool,
pub props: Option<CellProps>,
}Fields§
§iid: Rc<str>§val: Val§vals: MaxMap<TableCell>§dim: u64§vis: bool§par: Rc<str>§chn: Vec<Rc<str>>§open: bool§props: Option<CellProps>Implementations§
Source§impl IndexCell
impl IndexCell
pub fn record_set_iid( &mut self, new_iid: Rc<str>, iid_to_row: &mut HashMap<Rc<str>, usize>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_val(&mut self, new_val: Val) -> ChangeIndexCell
pub fn record_set_dim(&mut self, new_dim: u64) -> ChangeIndexCell
pub fn record_set_vis(&mut self, new_vis: bool) -> ChangeIndexCell
pub fn record_set_par( &mut self, new_par: Rc<str>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_chn( &mut self, new_chn: Vec<Rc<str>>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_open(&mut self, new_open: bool) -> ChangeIndexCell
pub fn record_set_props_align( &mut self, new_align: Option<CellAlign>, ) -> ChangeIndexCell
pub fn record_set_props_borders( &mut self, new_borders: Option<CellBorders>, ) -> ChangeIndexCell
pub fn record_set_props_borders_top( &mut self, new_top: Option<Border>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_borders_right( &mut self, new_right: Option<Border>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_borders_bottom( &mut self, new_bottom: Option<Border>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_borders_left( &mut self, new_left: Option<Border>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_checkbox( &mut self, new_checkbox: Option<Checkbox>, ) -> ChangeIndexCell
pub fn record_set_props_checkbox_true_val( &mut self, new_true_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_checkbox_false_val( &mut self, new_false_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_checkbox_text( &mut self, new_text: Option<String>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_checkbox_state( &mut self, new_state: bool, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_data_format( &mut self, new_data_format: Option<DataFormat>, ) -> ChangeIndexCell
pub fn record_set_props_dropdown( &mut self, new_dropdown: Option<Dropdown>, ) -> ChangeIndexCell
pub fn record_set_props_dropdown_vals( &mut self, new_vals: Vec<Val>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_dropdown_default_val( &mut self, new_default_val: Option<Val>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_dropdown_validation( &mut self, new_validation: bool, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_dropdown_text( &mut self, new_text: Option<String>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_dropdown_state( &mut self, new_state: DropdownState, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_highlight( &mut self, new_highlight: Option<Highlight>, ) -> ChangeIndexCell
pub fn record_set_props_note( &mut self, new_note: Option<Note>, ) -> ChangeIndexCell
pub fn record_set_props_note_text( &mut self, new_text: String, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_note_bg( &mut self, new_bg: Option<Color3>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_note_fg( &mut self, new_fg: Option<Color3>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_note_readonly( &mut self, new_readonly: bool, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_progress_bar( &mut self, new_progress_bar: Option<ProgressBar>, ) -> ChangeIndexCell
pub fn record_set_props_progress_bar_bg( &mut self, new_bg: Option<Color3>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_progress_bar_fg( &mut self, new_fg: Option<Color3>, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_progress_bar_pc( &mut self, new_pc: f64, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_progress_bar_remove_on_complete( &mut self, new_flag: bool, ) -> Result<ChangeIndexCell, String>
pub fn record_set_props_readonly( &mut self, new_readonly: bool, ) -> ChangeIndexCell
Source§impl IndexCell
impl IndexCell
pub fn record_set_table_cell_val( &mut self, col: usize, new_val: Val, default_val: Val, ) -> ChangeIndexCell
pub fn record_set_table_cell_props_align( &mut self, col: usize, new_align: Option<CellAlign>, default_val: Val, ) -> ChangeIndexCell
pub fn record_set_table_cell_props_borders( &mut self, col: usize, new_borders: Option<CellBorders>, default_val: Val, ) -> ChangeIndexCell
pub fn record_set_table_cell_props_borders_top( &mut self, col: usize, new_top: Option<Border>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_borders_right( &mut self, col: usize, new_right: Option<Border>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_borders_bottom( &mut self, col: usize, new_bottom: Option<Border>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_borders_left( &mut self, col: usize, new_left: Option<Border>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_checkbox( &mut self, col: usize, new_checkbox: Option<Checkbox>, default_val: Val, ) -> ChangeIndexCell
pub fn record_set_table_cell_props_checkbox_true_val( &mut self, col: usize, new_true_val: Val, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_checkbox_false_val( &mut self, col: usize, new_false_val: Val, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_checkbox_text( &mut self, col: usize, new_text: Option<String>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_checkbox_state( &mut self, col: usize, new_state: bool, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_data_format( &mut self, col: usize, new_data_format: Option<DataFormat>, default_val: Val, ) -> ChangeIndexCell
pub fn record_set_table_cell_props_dropdown( &mut self, col: usize, new_dropdown: Option<Dropdown>, default_val: Val, ) -> ChangeIndexCell
pub fn record_set_table_cell_props_dropdown_vals( &mut self, col: usize, new_vals: Vec<Val>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_dropdown_default_val( &mut self, col: usize, new_default_val: Option<Val>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_dropdown_validation( &mut self, col: usize, new_validation: bool, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_dropdown_text( &mut self, col: usize, new_text: Option<String>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_dropdown_state( &mut self, col: usize, new_state: DropdownState, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_highlight( &mut self, col: usize, new_highlight: Option<Highlight>, default_val: Val, ) -> ChangeIndexCell
pub fn record_set_table_cell_props_note( &mut self, col: usize, new_note: Option<Note>, default_val: Val, ) -> ChangeIndexCell
pub fn record_set_table_cell_props_note_text( &mut self, col: usize, new_text: String, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_note_bg( &mut self, col: usize, new_bg: Option<Color3>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_note_fg( &mut self, col: usize, new_fg: Option<Color3>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_note_readonly( &mut self, col: usize, new_readonly: bool, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_progress_bar( &mut self, col: usize, new_progress_bar: Option<ProgressBar>, default_val: Val, ) -> ChangeIndexCell
pub fn record_set_table_cell_props_progress_bar_bg( &mut self, col: usize, new_bg: Option<Color3>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_progress_bar_fg( &mut self, col: usize, new_fg: Option<Color3>, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_progress_bar_pc( &mut self, col: usize, new_pc: f64, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_progress_bar_remove_on_complete( &mut self, col: usize, new_flag: bool, default_val: Val, ) -> Result<ChangeIndexCell, String>
pub fn record_set_table_cell_props_readonly( &mut self, col: usize, new_readonly: bool, default_val: Val, ) -> ChangeIndexCell
Source§impl IndexCell
impl IndexCell
pub fn new(val: Val, dim: u64, vis: bool, iid: Rc<str>) -> Self
pub fn event_data_apply_own_iformat( &mut self, row: usize, event_data: &mut EventData, normalize: bool, ignore_fmt_errs: bool, ) -> Result<bool, String>
pub fn event_data_apply_own_tformat( &mut self, row: usize, col: usize, empty_val: &Val, event_data: &mut EventData, normalize: bool, ignore_fmt_errs: bool, ) -> Result<bool, String>
Trait Implementations§
impl Eq for IndexCell
Auto Trait Implementations§
impl !Send for IndexCell
impl !Sync for IndexCell
impl Freeze for IndexCell
impl RefUnwindSafe for IndexCell
impl Unpin for IndexCell
impl UnsafeUnpin for IndexCell
impl UnwindSafe for IndexCell
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.