1 2 3 4 5 6 7
pub use chan::Sender; use format::data::Format; pub trait Widget { fn current_value(&self) -> Format; fn spawn_notifier(&mut self, tx: Sender<()>); }