Trait Configurable

Source
pub trait Configurable: Sized {
    type Config: Config<Self>;

    // Required method
    fn config(theme: &Rc<Theme>, value: Self) -> Self::Config;
}

Required Associated Types§

Source

type Config: Config<Self>

Required Methods§

Source

fn config(theme: &Rc<Theme>, value: Self) -> Self::Config

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.

Implementors§