Skip to main content

ThemeBindable

Trait ThemeBindable 

Source
pub trait ThemeBindable: Sized + 'static {
    // Provided method
    fn bind_theme(&self, handler: impl Fn(&Self, Theme) + 'static) -> &Self { ... }
}

Provided Methods§

Source

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".

Implementors§