pub struct Style {
Show 15 fields pub padding: Option<Margin>, pub border_color: Color32, pub border_width: f32, pub selection_color: Color32, pub separator_width: f32, pub separator_extra: f32, pub separator_color: Color32, pub tab_bar_background_color: Color32, pub tab_outline_color: Color32, pub tab_rounding: Rounding, pub tab_background_color: Color32, pub close_tab_color: Color32, pub close_tab_active_color: Color32, pub close_tab_background_color: Color32, pub show_close_buttons: bool,
}
Expand description

Specifies the look and feel of egui_dock.

Fields

padding: Option<Margin>border_color: Color32border_width: f32selection_color: Color32separator_width: f32separator_extra: f32separator_color: Color32tab_bar_background_color: Color32tab_outline_color: Color32tab_rounding: Roundingtab_background_color: Color32close_tab_color: Color32close_tab_active_color: Color32close_tab_background_color: Color32show_close_buttons: bool

Implementations

Derives relevant fields from egui::Style and sets the remaining fields to their default values.

Fields overwritten by egui::Style are:

  • selection_color
  • tab_bar_background_color
  • tab_outline_color
  • tab_background_color
  • separator_color
  • border_color
  • close_tab_background_color
  • close_tab_color
  • close_tab_active_color

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. 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

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 resulting type after obtaining ownership.

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

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.