pub struct DefaultTheme;
Expand description
Default theme with dark colors
Trait Implementations§
Source§impl Clone for DefaultTheme
impl Clone for DefaultTheme
Source§fn clone(&self) -> DefaultTheme
fn clone(&self) -> DefaultTheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DefaultTheme
impl Debug for DefaultTheme
Source§impl Theme for DefaultTheme
impl Theme for DefaultTheme
fn name(&self) -> &str
fn background(&self) -> Color
fn background_panel(&self) -> Color
fn background_element(&self) -> Color
fn text(&self) -> Color
fn text_muted(&self) -> Color
fn text_secondary(&self) -> Color
fn primary(&self) -> Color
fn secondary(&self) -> Color
fn accent(&self) -> Color
fn success(&self) -> Color
fn warning(&self) -> Color
fn error(&self) -> Color
fn info(&self) -> Color
fn border(&self) -> Color
fn border_active(&self) -> Color
fn border_subtle(&self) -> Color
fn diff_added(&self) -> Color
fn diff_removed(&self) -> Color
fn diff_modified(&self) -> Color
fn diff_context(&self) -> Color
fn syntax_keyword(&self) -> Color
fn syntax_string(&self) -> Color
fn syntax_comment(&self) -> Color
fn syntax_number(&self) -> Color
fn syntax_type(&self) -> Color
fn syntax_function(&self) -> Color
fn syntax_variable(&self) -> Color
fn syntax_operator(&self) -> Color
Auto Trait Implementations§
impl Freeze for DefaultTheme
impl RefUnwindSafe for DefaultTheme
impl Send for DefaultTheme
impl Sync for DefaultTheme
impl Unpin for DefaultTheme
impl UnwindSafe for DefaultTheme
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> 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