Skip to main content

CodeEditorThemeExt

Trait CodeEditorThemeExt 

Source
pub trait CodeEditorThemeExt {
    // Required methods
    fn with_dark_code_editor(self) -> Self;
    fn with_light_code_editor(self) -> Self;
}
Expand description

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

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl CodeEditorThemeExt for Theme

Implementors§