Skip to main content

Options

Struct Options 

Source
pub struct Options {
Show 114 fields pub widget_name: String, pub widget_id: u32, pub tree_mode: bool, pub tree_indent: u64, pub empty_val: Val, pub empty_index_val: Val, pub empty_header_val: Val, pub max_undos: usize, pub default_row_dim: u64, pub default_col_dim: u64, pub min_row_dim: u64, pub min_col_dim: u64, pub max_row_dim: u64, pub max_col_dim: u64, pub paste_expands_y: bool, pub paste_expands_x: bool, pub paste_max_rows: Option<u64>, pub paste_max_cols: Option<u64>, pub csv_out_delimiter: String, pub csv_out_quotechar: String, pub csv_out_lineterminator: String, pub empty_horizontal: u64, pub empty_vertical: u64, pub show_horizontal_grid: bool, pub show_vertical_grid: bool, pub table_wrap: String, pub index_wrap: String, pub header_wrap: String, pub invalid_display_un8: String, pub invalid_display_un16: String, pub invalid_display_un32: String, pub invalid_display_un64: String, pub invalid_display_un128: String, pub invalid_display_sn8: String, pub invalid_display_sn16: String, pub invalid_display_sn32: String, pub invalid_display_sn64: String, pub invalid_display_sn128: String, pub invalid_display_fl64: String, pub invalid_display_bigint: String, pub invalid_display_bigdec: String, pub invalid_display_dec: String, pub invalid_display_str: String, pub invalid_display_chr: String, pub invalid_display_bl: String, pub invalid_display_nil: String, pub invalid_display_undf: String, pub invalid_display_dt: String, pub invalid_display_dur: String, pub enabled_undo: bool, pub validation_includes_undo: bool, pub horizontal_grid_line_width: u64, pub vertical_grid_line_width: u64, pub show_row_numbering: String, pub show_col_numbering: String, pub show_index: bool, pub show_header: bool, pub popup_menu_fg: Color3, pub popup_menu_bg: Color3, pub popup_menu_highlight_bg: Color3, pub popup_menu_highlight_fg: Color3, pub index_hidden_rows_expander_bg: Color3, pub header_hidden_cols_expander_bg: Color3, pub header_bg: Color3, pub header_border_fg: Color3, pub header_grid_fg: Color3, pub header_fg: Color3, pub header_editor_bg: Color3, pub header_editor_fg: Color3, pub header_editor_select_bg: Color3, pub header_editor_select_fg: Color3, pub header_selected_cells_bg: Color3, pub header_selected_cells_fg: Color3, pub index_bg: Color3, pub index_border_fg: Color3, pub index_grid_fg: Color3, pub index_fg: Color3, pub index_editor_bg: Color3, pub index_editor_fg: Color3, pub index_editor_select_bg: Color3, pub index_editor_select_fg: Color3, pub index_selected_cells_bg: Color3, pub index_selected_cells_fg: Color3, pub top_left_bg: Color3, pub top_left_fg: Color3, pub top_left_fg_highlight: Color3, pub table_bg: Color3, pub table_grid_fg: Color3, pub table_fg: Color3, pub table_editor_bg: Color3, pub table_editor_fg: Color3, pub table_editor_select_bg: Color3, pub table_editor_select_fg: Color3, pub table_selected_box_cells_fg: Color3, pub table_selected_box_rows_fg: Color3, pub table_selected_box_cols_fg: Color3, pub table_selected_cells_border_fg: Color3, pub table_selected_cells_bg: Color3, pub table_selected_cells_fg: Color3, pub resizing_line_fg: Color3, pub drag_and_drop_bg: Color3, pub header_selected_cols_bg: Color3, pub header_selected_cols_fg: Color3, pub index_selected_rows_bg: Color3, pub index_selected_rows_fg: Color3, pub table_selected_rows_border_fg: Color3, pub table_selected_rows_bg: Color3, pub table_selected_rows_fg: Color3, pub table_selected_cols_border_fg: Color3, pub table_selected_cols_bg: Color3, pub table_selected_cols_fg: Color3, pub tree_arrow_fg: Color3, pub selected_cells_tree_arrow_fg: Color3, pub selected_rows_tree_arrow_fg: Color3,
}

Fields§

§widget_name: String§widget_id: u32§tree_mode: bool§tree_indent: u64§empty_val: Val§empty_index_val: Val§empty_header_val: Val§max_undos: usize§default_row_dim: u64§default_col_dim: u64§min_row_dim: u64§min_col_dim: u64§max_row_dim: u64§max_col_dim: u64§paste_expands_y: bool§paste_expands_x: bool§paste_max_rows: Option<u64>§paste_max_cols: Option<u64>§csv_out_delimiter: String§csv_out_quotechar: String§csv_out_lineterminator: String§empty_horizontal: u64§empty_vertical: u64§show_horizontal_grid: bool§show_vertical_grid: bool§table_wrap: String§index_wrap: String§header_wrap: String§invalid_display_un8: String§invalid_display_un16: String§invalid_display_un32: String§invalid_display_un64: String§invalid_display_un128: String§invalid_display_sn8: String§invalid_display_sn16: String§invalid_display_sn32: String§invalid_display_sn64: String§invalid_display_sn128: String§invalid_display_fl64: String§invalid_display_bigint: String§invalid_display_bigdec: String§invalid_display_dec: String§invalid_display_str: String§invalid_display_chr: String§invalid_display_bl: String§invalid_display_nil: String§invalid_display_undf: String§invalid_display_dt: String§invalid_display_dur: String§enabled_undo: bool§validation_includes_undo: bool§horizontal_grid_line_width: u64§vertical_grid_line_width: u64§show_row_numbering: String§show_col_numbering: String§show_index: bool§show_header: bool§popup_menu_fg: Color3§popup_menu_bg: Color3§popup_menu_highlight_bg: Color3§popup_menu_highlight_fg: Color3§index_hidden_rows_expander_bg: Color3§header_hidden_cols_expander_bg: Color3§header_bg: Color3§header_border_fg: Color3§header_grid_fg: Color3§header_fg: Color3§header_editor_bg: Color3§header_editor_fg: Color3§header_editor_select_bg: Color3§header_editor_select_fg: Color3§header_selected_cells_bg: Color3§header_selected_cells_fg: Color3§index_bg: Color3§index_border_fg: Color3§index_grid_fg: Color3§index_fg: Color3§index_editor_bg: Color3§index_editor_fg: Color3§index_editor_select_bg: Color3§index_editor_select_fg: Color3§index_selected_cells_bg: Color3§index_selected_cells_fg: Color3§top_left_bg: Color3§top_left_fg: Color3§top_left_fg_highlight: Color3§table_bg: Color3§table_grid_fg: Color3§table_fg: Color3§table_editor_bg: Color3§table_editor_fg: Color3§table_editor_select_bg: Color3§table_editor_select_fg: Color3§table_selected_box_cells_fg: Color3§table_selected_box_rows_fg: Color3§table_selected_box_cols_fg: Color3§table_selected_cells_border_fg: Color3§table_selected_cells_bg: Color3§table_selected_cells_fg: Color3§resizing_line_fg: Color3§drag_and_drop_bg: Color3§header_selected_cols_bg: Color3§header_selected_cols_fg: Color3§index_selected_rows_bg: Color3§index_selected_rows_fg: Color3§table_selected_rows_border_fg: Color3§table_selected_rows_bg: Color3§table_selected_rows_fg: Color3§table_selected_cols_border_fg: Color3§table_selected_cols_bg: Color3§table_selected_cols_fg: Color3§tree_arrow_fg: Color3§selected_cells_tree_arrow_fg: Color3§selected_rows_tree_arrow_fg: Color3

Implementations§

Source§

impl Options

Source

pub fn new() -> Self

Source

pub fn merge(merge_into: Options, merge_using: PartialOptions) -> Options

Trait Implementations§

Source§

impl Clone for Options

Source§

fn clone(&self) -> Options

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Options

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Options

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Options

Source§

fn eq(&self, other: &Options) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Options

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.