pub trait StyleThemeExt {
// Required methods
fn theme(self, theme: DesignSystem) -> Self;
fn with_theme(
self,
f: impl Fn(Self, &DesignSystem) -> Self + 'static,
) -> Self
where Self: Sized;
}Required Methods§
fn theme(self, theme: DesignSystem) -> Self
fn with_theme(self, f: impl Fn(Self, &DesignSystem) -> Self + 'static) -> Selfwhere
Self: Sized,
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.