Trait 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>