#[non_exhaustive]pub enum SyntaxTheme {
CatppuccinLatte,
CatppuccinMacchiato,
CatppuccinMocha,
Dracula,
GitHub,
GruvboxDark,
GruvboxLight,
Nord,
OneHalfDark,
OneHalfLight,
TwoDark,
}Expand description
The syntax themes the presets use; code maps each onto the one embedded in two-face.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CatppuccinLatte
CatppuccinMacchiato
CatppuccinMocha
Dracula
GitHub
GruvboxDark
GruvboxLight
Nord
OneHalfDark
OneHalfLight
TwoDark
Trait Implementations§
Source§impl Clone for SyntaxTheme
impl Clone for SyntaxTheme
impl Copy for SyntaxTheme
Source§impl Debug for SyntaxTheme
impl Debug for SyntaxTheme
impl Eq for SyntaxTheme
Source§impl PartialEq for SyntaxTheme
impl PartialEq for SyntaxTheme
impl StructuralPartialEq for SyntaxTheme
Auto Trait Implementations§
impl Forget for SyntaxTheme
impl Freeze for SyntaxTheme
impl Move for SyntaxTheme
impl RefUnwindSafe for SyntaxTheme
impl Send for SyntaxTheme
impl Sync for SyntaxTheme
impl Unpin for SyntaxTheme
impl UnsafeUnpin for SyntaxTheme
impl UnwindSafe for SyntaxTheme
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