pub struct HeaderCell {
pub iid: Rc<str>,
pub val: Val,
pub dim: u64,
pub vis: bool,
pub props: Option<CellProps>,
}Fields§
§iid: Rc<str>§val: Val§dim: u64§vis: bool§props: Option<CellProps>Implementations§
Source§impl HeaderCell
impl HeaderCell
pub fn record_set_iid( &mut self, new_iid: Rc<str>, iid_to_col: &mut HashMap<Rc<str>, usize>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_val(&mut self, new_val: Val) -> ChangeHeaderCell
pub fn record_set_dim(&mut self, new_dim: u64) -> ChangeHeaderCell
pub fn record_set_vis(&mut self, new_vis: bool) -> ChangeHeaderCell
pub fn record_set_props_align( &mut self, new_align: Option<CellAlign>, ) -> ChangeHeaderCell
pub fn record_set_props_borders( &mut self, new_borders: Option<CellBorders>, ) -> ChangeHeaderCell
pub fn record_set_props_borders_top( &mut self, new_top: Option<Border>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_borders_right( &mut self, new_right: Option<Border>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_borders_bottom( &mut self, new_bottom: Option<Border>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_borders_left( &mut self, new_left: Option<Border>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_checkbox( &mut self, new_checkbox: Option<Checkbox>, ) -> ChangeHeaderCell
pub fn record_set_props_checkbox_true_val( &mut self, new_true_val: Val, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_checkbox_false_val( &mut self, new_false_val: Val, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_checkbox_text( &mut self, new_text: Option<String>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_checkbox_state( &mut self, new_state: bool, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_data_format( &mut self, new_data_format: Option<DataFormat>, ) -> ChangeHeaderCell
pub fn record_set_props_dropdown( &mut self, new_dropdown: Option<Dropdown>, ) -> ChangeHeaderCell
pub fn record_set_props_dropdown_vals( &mut self, new_vals: Vec<Val>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_dropdown_default_val( &mut self, new_default_val: Option<Val>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_dropdown_validation( &mut self, new_validation: bool, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_dropdown_text( &mut self, new_text: Option<String>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_dropdown_state( &mut self, new_state: DropdownState, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_highlight( &mut self, new_highlight: Option<Highlight>, ) -> ChangeHeaderCell
pub fn record_set_props_note( &mut self, new_note: Option<Note>, ) -> ChangeHeaderCell
pub fn record_set_props_note_text( &mut self, new_text: String, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_note_bg( &mut self, new_bg: Option<Color3>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_note_fg( &mut self, new_fg: Option<Color3>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_note_readonly( &mut self, new_readonly: bool, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_progress_bar( &mut self, new_progress_bar: Option<ProgressBar>, ) -> ChangeHeaderCell
pub fn record_set_props_progress_bar_bg( &mut self, new_bg: Option<Color3>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_progress_bar_fg( &mut self, new_fg: Option<Color3>, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_progress_bar_pc( &mut self, new_pc: f64, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_progress_bar_remove_on_complete( &mut self, new_flag: bool, ) -> Result<ChangeHeaderCell, String>
pub fn record_set_props_readonly( &mut self, new_readonly: bool, ) -> ChangeHeaderCell
Trait Implementations§
Source§impl Clone for HeaderCell
impl Clone for HeaderCell
Source§fn clone(&self) -> HeaderCell
fn clone(&self) -> HeaderCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeaderCell
impl Debug for HeaderCell
Source§impl PartialEq for HeaderCell
impl PartialEq for HeaderCell
Source§fn eq(&self, other: &HeaderCell) -> bool
fn eq(&self, other: &HeaderCell) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HeaderCell
Auto Trait Implementations§
impl !Send for HeaderCell
impl !Sync for HeaderCell
impl Freeze for HeaderCell
impl RefUnwindSafe for HeaderCell
impl Unpin for HeaderCell
impl UnsafeUnpin for HeaderCell
impl UnwindSafe for HeaderCell
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