#[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: StringThe character for filling vertical spacing.
color_action_break: ColorThe color for the break action.
color_action_drop: ColorThe color for the drop action.
color_action_edit: ColorThe color for the edit action.
color_action_exec: ColorThe color for the exec action.
color_action_fixup: ColorThe color for the fixup action.
color_action_pick: ColorThe color for the pick action.
color_action_reword: ColorThe color for the reword action.
color_action_squash: ColorThe color for the squash action.
color_action_label: ColorThe color for the label action.
color_action_reset: ColorThe color for the reset action.
color_action_merge: ColorThe color for the merge action.
color_background: ColorThe color for the background.
color_diff_add: ColorThe color for added lines in a diff.
color_diff_change: ColorThe color for changed lines in a diff.
color_diff_context: ColorThe color for context lines in a diff.
color_diff_remove: ColorThe color for removed lines in a diff.
color_diff_whitespace: ColorThe color for whitespace characters in a diff.
color_foreground: ColorThe color for the standard text.
color_indicator: ColorThe color for indicator text.
color_selected_background: ColorThe 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