Trait tui_logger::EventListener[][src]

pub trait EventListener<E: Debug> {
    fn dispatcher(self, dispatcher: Rc<RefCell<Dispatcher<E>>>) -> Self;
}

The EventListener Trait is only a standard way to implement a tui widget, which can listen to events.

Required methods

fn dispatcher(self, dispatcher: Rc<RefCell<Dispatcher<E>>>) -> Self[src]

Hand over a Dispatcher to the widget.

Loading content...

Implementors

Loading content...