[][src]Trait geng_ui::Configurable

pub trait Configurable: Sized {
    type Config: Config<Self>;
    fn config(geng: &Rc<Geng>, theme: &Rc<Theme>, value: Self) -> Self::Config;
}

Associated Types

type Config: Config<Self>

Loading content...

Required methods

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

Loading content...

Implementors

impl<T: ToString + Clone> Configurable for T[src]

type Config = ShowValue<T>

Loading content...