#[non_exhaustive]
pub struct Theme {
Show 21 fields pub character_vertical_spacing: String, pub color_action_break: Color, pub color_action_drop: Color, pub color_action_edit: Color, pub color_action_exec: Color, pub color_action_fixup: Color, pub color_action_pick: Color, pub color_action_reword: Color, pub color_action_squash: Color, pub color_action_label: Color, pub color_action_reset: Color, pub color_action_merge: Color, pub color_background: Color, pub color_diff_add: Color, pub color_diff_change: Color, pub color_diff_context: Color, pub color_diff_remove: Color, pub color_diff_whitespace: Color, pub color_foreground: Color, pub color_indicator: Color, pub color_selected_background: Color,
}
Expand description

Represents the theme configuration options.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
character_vertical_spacing: String

The character for filling vertical spacing.

color_action_break: Color

The color for the break action.

color_action_drop: Color

The color for the drop action.

color_action_edit: Color

The color for the edit action.

color_action_exec: Color

The color for the exec action.

color_action_fixup: Color

The color for the fixup action.

color_action_pick: Color

The color for the pick action.

color_action_reword: Color

The color for the reword action.

color_action_squash: Color

The color for the squash action.

color_action_label: Color

The color for the label action.

color_action_reset: Color

The color for the reset action.

color_action_merge: Color

The color for the merge action.

color_background: Color

The color for the background.

color_diff_add: Color

The color for added lines in a diff.

color_diff_change: Color

The color for changed lines in a diff.

color_diff_context: Color

The color for context lines in a diff.

color_diff_remove: Color

The color for removed lines in a diff.

color_diff_whitespace: Color

The color for whitespace characters in a diff.

color_foreground: Color

The color for the standard text.

color_indicator: Color

The color for indicator text.

color_selected_background: Color

The background color for selected lines.

Implementations

Create a new configuration with default values.

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

The type returned in the event of a conversion error.

Performs the conversion.

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

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

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.