Trait geng_ui::Config

source ·
pub trait Config<T> {
    // Required methods
    fn get(&self) -> T;
    fn ui<'a>(&'a mut self, cx: &'a Controller) -> Box<dyn Widget + 'a>;
}

Required Methods§

source

fn get(&self) -> T

source

fn ui<'a>(&'a mut self, cx: &'a Controller) -> Box<dyn Widget + 'a>

Implementors§

source§

impl<T: ToString + Clone> Config<T> for ShowValue<T>