Skip to main content

CodeEditorThemeExt

Trait CodeEditorThemeExt 

pub trait CodeEditorThemeExt {
    // Required methods
    fn with_dark_code_editor(self) -> Self;
    fn with_light_code_editor(self) -> Self;
}
Available on crate feature code-editor only.
Expand description

Registers code editor themes into a Theme, e.g. dark_theme().with_dark_code_editor().

Required Methods§

fn with_dark_code_editor(self) -> Self

fn with_light_code_editor(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§