pub struct ListColumn { /* private fields */ }

Implementations

List of columns implementation.

Create and return a new list column element.

Return
  • See description.

Add a new column into the column list.

Arguments
  • col_name_param - Column name.
  • col_name_index_param - Column index.
  • col_header_param - Column header.
  • col_description_param - Column description.
  • group_param - Group parameter.
  • name_param - Name parameter.
  • col_type_param - Column type.
  • code_param - Code parameter.
  • column_empty_value_param - Column empty value.
  • format_param - Column format.
  • decimal_digits_param - Decimal digits.
  • column_width_param - Column width.
  • column_exclude_param - Column exclude.
Return
  • True if successful, otherwise false.

Get the selected column.

Return
  • See description.

Get the name of the column.

Return
  • See description.

Index of the column name.

Return
  • See description.

Get the header text of the column.

Return
  • See description.

Get the description of the column.

Return
  • See description.

Get the group of the descriptor.

Return
  • See description.

Get the name of the descriptor.

Return
  • See description.

Get the type of the descriptor.

Return
  • See description.

Get the code of the descriptor.

Return
  • See description.

Get the format of the column.

Return
  • See description.

Get the number of significant decimal digits.

Return
  • See description.

Get the width of the column.

Return
  • See description.

Get the column editable.

Return
  • See description.

Select the column that matches a column name index.

Arguments
  • col_name_index - The column name index to select.
Return
  • True if successful, otherwise false.

Remove the selected column from the column list.

Return
  • True if successful, otherwise false.

Trait Implementations

List of columns default implementation.

Create and return a new list column element.

Return
  • See description.

List of columns list implementation.

Clear all columns from the column list.

Get the count of the columns.

Return
  • See description.

Get the index of the selected column (starting from 0).

Return
  • See description.

Select a column based upon an index value.

Arguments
  • index_param - The index value of the column to select (starting from 0).
Return
  • True if successful, otherwise false.

Set the list index.

Arguments
  • index_param - See description.
Return
  • True if successful, otherwise false.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.