pub struct Theme {Show 21 fields
pub selection_bg: Color,
pub file_header_bg: Color,
pub added_line_bg: Color,
pub removed_line_bg: Color,
pub added_emphasis_bg: Color,
pub removed_emphasis_bg: Color,
pub file_header_fg: Color,
pub context_fg: Color,
pub context_bg: Color,
pub gutter_fg: Color,
pub help_text_fg: Color,
pub help_section_fg: Color,
pub help_key_fg: Color,
pub help_dismiss_fg: Color,
pub help_overlay_bg: Color,
pub tree_highlight_fg: Color,
pub tree_highlight_bg: Color,
pub tree_group_fg: Color,
pub search_match_fg: Color,
pub search_match_bg: Color,
pub syntect_theme: &'static str,
}Fields§
§selection_bg: Color§file_header_bg: Color§added_line_bg: Color§removed_line_bg: Color§added_emphasis_bg: Color§removed_emphasis_bg: Color§file_header_fg: Color§context_fg: Color§context_bg: Color§gutter_fg: Color§help_text_fg: Color§help_section_fg: Color§help_key_fg: Color§help_dismiss_fg: Color§help_overlay_bg: Color§tree_highlight_fg: Color§tree_highlight_bg: Color§tree_group_fg: Color§search_match_fg: Color§search_match_bg: Color§syntect_theme: &'static strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more