pub trait ThemeBuilder {
type Context;
// Required method
fn build(context: &Self::Context) -> Self;
}Expand description
A trait for building a theme from a given context.
This trait is typically derived using tui-theme-builder::ThemeBuilder from the tui-theme-builder-derive crate.
Required Associated Types§
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.