#[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
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
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more