pub enum ThemeVariant {
Show 18 variants
Light,
Dark,
MidnightBlue,
ForestGrove,
SunsetAmber,
OceanBreeze,
Dracula,
Nord,
MonokaiPro,
TokyoNight,
CatppuccinMocha,
RosePine,
CoralReef,
LavenderDreams,
MintFresh,
PeachyKeen,
SkyBlue,
CherryBlossom,
}Expand description
Theme variants
Variants§
Light
Light theme
Dark
Dark theme
MidnightBlue
Midnight Blue - Deep, calming dark blue tones
ForestGrove
Forest Grove - Natural greens with earthy accents
SunsetAmber
Sunset Amber - Warm oranges and deep purples
OceanBreeze
Ocean Breeze - Cool blues and teals
Dracula
Dracula - Popular purple-based dark theme
Nord
Nord - Arctic, bluish color palette
MonokaiPro
Monokai Pro - Vibrant syntax highlighting colors
TokyoNight
Tokyo Night - Modern dark theme with purple accents
CatppuccinMocha
Catppuccin Mocha - Pastel dark theme
RosePine
Rose Pine - Muted, natural tones
CoralReef
Coral Reef - Vibrant coral and turquoise
LavenderDreams
Lavender Dreams - Soft purples and pastels
MintFresh
Mint Fresh - Cool mint greens with clean whites
PeachyKeen
Peachy Keen - Warm peach and orange tones
SkyBlue
Sky Blue - Bright blues inspired by clear skies
CherryBlossom
Cherry Blossom - Pink and magenta spring colors
Implementations§
Source§impl ThemeVariant
impl ThemeVariant
pub fn display_name(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ThemeVariant
impl Clone for ThemeVariant
impl Copy for ThemeVariant
Source§impl Debug for ThemeVariant
impl Debug for ThemeVariant
impl Eq for ThemeVariant
Source§impl PartialEq for ThemeVariant
impl PartialEq for ThemeVariant
impl StructuralPartialEq for ThemeVariant
Auto Trait Implementations§
impl Freeze for ThemeVariant
impl RefUnwindSafe for ThemeVariant
impl Send for ThemeVariant
impl Sync for ThemeVariant
impl Unpin for ThemeVariant
impl UnsafeUnpin for ThemeVariant
impl UnwindSafe for ThemeVariant
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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