Struct xplr::config::GeneralConfig[][src]

pub struct GeneralConfig {
Show fields pub enable_mouse: bool, pub show_hidden: bool, pub read_only: bool, pub disable_recover_mode: bool, pub cursor: UiElement, pub prompt: UiElement, pub logs: LogsConfig, pub table: TableConfig, pub default_ui: UiConfig, pub focus_ui: UiConfig, pub selection_ui: UiConfig, pub sort_and_filter_ui: SortAndFilterUi, pub panel_ui: PanelUi, pub initial_sorting: Option<IndexSet<NodeSorterApplicable>>, pub initial_mode: Option<String>, pub initial_layout: Option<String>, pub start_fifo: Option<String>,
}

Fields

enable_mouse: boolshow_hidden: boolread_only: booldisable_recover_mode: boolcursor: UiElementprompt: UiElementlogs: LogsConfigtable: TableConfigdefault_ui: UiConfigfocus_ui: UiConfigselection_ui: UiConfigsort_and_filter_ui: SortAndFilterUipanel_ui: PanelUiinitial_sorting: Option<IndexSet<NodeSorterApplicable>>initial_mode: Option<String>initial_layout: Option<String>start_fifo: Option<String>

Implementations

Get a reference to the general config’s show hidden.

Get a reference to the general config’s read only.

Get a reference to the general config’s cursor.

Get a reference to the general config’s prompt.

Get a reference to the general config’s logs.

Get a reference to the general config’s table.

Get a reference to the general config’s default ui.

Get a reference to the general config’s focus ui.

Get a reference to the general config’s selection ui.

Get a reference to the general config’s sort and filter ui.

Get a reference to the general config’s initial sorting.

Get a reference to the general config’s initial mode.

Get a reference to the general config’s initial layout.

Get a reference to the general config’s panel ui.

Get a reference to the general config’s enable mouse.

Get a reference to the general config’s disable recover mode.

Set the general config’s read only.

Get a reference to the general config’s start fifo.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

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.