pub enum BuiltinTheme {
CatppuccinMocha,
Cyberpunk,
Dracula,
EverforestDark,
GruvboxDark,
Mono,
Nord,
OneDark,
RosePine,
SolarizedLight,
TokyoNight,
}Expand description
Enum of built in themes.
Variants§
CatppuccinMocha
Catppuccin Mocha — dark, pastel-toned.
Cyberpunk
Cyberpunk — high-contrast neon on dark.
Dracula
Dracula — the classic dark purple theme (default).
EverforestDark
Everforest Dark — muted green forest tones.
GruvboxDark
Gruvbox Dark — warm retro earth tones.
Mono
Mono — minimal monochrome.
Nord
Nord — cool arctic blue palette.
OneDark
One Dark — Atom-inspired dark theme.
RosePine
Rosé Pine — soho vibes, muted rose tones.
SolarizedLight
Solarized Light — the classic light theme.
TokyoNight
Tokyo Night — vibrant dark blues and purples.
Implementations§
Source§impl BuiltinTheme
Built in themes to provide an easy on ramp for users who haven’t installed theme files.
impl BuiltinTheme
Built in themes to provide an easy on ramp for users who haven’t installed theme files.
Sourcepub fn default_light() -> BuiltinTheme
pub fn default_light() -> BuiltinTheme
Returns a nice default light Theme.
Sourcepub fn iter() -> impl Iterator<Item = BuiltinTheme>
pub fn iter() -> impl Iterator<Item = BuiltinTheme>
Iterator to get all the built in themes.
Trait Implementations§
Source§impl Clone for BuiltinTheme
impl Clone for BuiltinTheme
Source§fn clone(&self) -> BuiltinTheme
fn clone(&self) -> BuiltinTheme
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 BuiltinTheme
impl Debug for BuiltinTheme
Source§impl Default for BuiltinTheme
impl Default for BuiltinTheme
Source§fn default() -> BuiltinTheme
fn default() -> BuiltinTheme
Returns the “default value” for a type. Read more
Source§impl<'_derivative_strum> From<&'_derivative_strum BuiltinTheme> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum BuiltinTheme> for &'static str
Source§fn from(x: &'_derivative_strum BuiltinTheme) -> &'static str
fn from(x: &'_derivative_strum BuiltinTheme) -> &'static str
Converts to this type from the input type.
Source§impl From<BuiltinTheme> for &'static str
impl From<BuiltinTheme> for &'static str
Source§fn from(x: BuiltinTheme) -> &'static str
fn from(x: BuiltinTheme) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for BuiltinTheme
impl FromStr for BuiltinTheme
Source§impl IntoEnumIterator for BuiltinTheme
impl IntoEnumIterator for BuiltinTheme
Source§impl PartialEq for BuiltinTheme
impl PartialEq for BuiltinTheme
Source§impl Serialize for BuiltinTheme
impl Serialize for BuiltinTheme
Source§impl TryFrom<&str> for BuiltinTheme
impl TryFrom<&str> for BuiltinTheme
impl Copy for BuiltinTheme
impl Eq for BuiltinTheme
impl StructuralPartialEq for BuiltinTheme
Auto Trait Implementations§
impl Freeze for BuiltinTheme
impl RefUnwindSafe for BuiltinTheme
impl Send for BuiltinTheme
impl Sync for BuiltinTheme
impl Unpin for BuiltinTheme
impl UnsafeUnpin for BuiltinTheme
impl UnwindSafe for BuiltinTheme
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<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.