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