pub trait ThemeBindable: Sized + 'static {
// Provided method
fn bind_theme(&self, handler: impl Fn(&Self, Theme) + 'static) -> &Self { ... }
}Provided Methods§
fn bind_theme(&self, handler: impl Fn(&Self, Theme) + 'static) -> &Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".