pub struct DraculaTheme;Expand description
Dracula theme
Trait Implementations§
Source§impl Clone for DraculaTheme
impl Clone for DraculaTheme
Source§fn clone(&self) -> DraculaTheme
fn clone(&self) -> DraculaTheme
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 DraculaTheme
impl Debug for DraculaTheme
Source§impl Theme for DraculaTheme
impl Theme for DraculaTheme
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 DraculaTheme
impl RefUnwindSafe for DraculaTheme
impl Send for DraculaTheme
impl Sync for DraculaTheme
impl Unpin for DraculaTheme
impl UnwindSafe for DraculaTheme
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