logo
pub struct Theme {
Show 32 fields pub name: String, pub window_bg_col: Color, pub window_tint_col: Color, pub accent_col: Color, pub accent_hover_col: Color, pub accent_select_col: Color, pub button_col: Color, pub button_text_col: Color, pub button_hover_col: Color, pub button_pressed_col: Color, pub text_col: Color, pub label_col: Color, pub separator_col: Color, pub highlight_col: Color, pub context_col: Color, pub panel_bg_col: Color, pub font_size: u32, pub element_w: u32, pub element_h: u32, pub element_offset: u32, pub arrow_size: u32, pub button_h: u32, pub check_size: u32, pub check_select_size: u32, pub scroll_w: u32, pub text_offset: u32, pub tab_w: u32, pub fill_window_bg: bool, pub fill_button_bg: bool, pub fill_accent_bg: bool, pub link_style: LinkStyle, pub full_tabs: bool,
}

Fields

name: Stringwindow_bg_col: Colorwindow_tint_col: Coloraccent_col: Coloraccent_hover_col: Coloraccent_select_col: Colorbutton_col: Colorbutton_text_col: Colorbutton_hover_col: Colorbutton_pressed_col: Colortext_col: Colorlabel_col: Colorseparator_col: Colorhighlight_col: Colorcontext_col: Colorpanel_bg_col: Colorfont_size: u32element_w: u32element_h: u32element_offset: u32arrow_size: u32button_h: u32check_size: u32check_select_size: u32scroll_w: u32text_offset: u32tab_w: u32fill_window_bg: boolfill_button_bg: boolfill_accent_bg: boollink_style: LinkStylefull_tabs: bool

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.

Typed getter

Inspect the context.

Inspect the context.

Inspect the context.

Calls U::from(self).

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

Convert into color

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Sets value as a parameter of self.

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.