Skip to main content

ColorThemeExt

Trait ColorThemeExt 

Source
pub trait ColorThemeExt: Sized {
    // Required method
    fn current() -> Result<Self, Error>;
}
Available on crate feature winio only.
Expand description

Extension trait for ColorTheme.

Required Methods§

Source

fn current() -> Result<Self, Error>

Get current color theme.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§