Trait mg::Responder
[−]
pub trait Responder { fn respond(&self, answer: DialogResult); }
A Responder is a way to send back the answer of a dialog to the code that showed this dialog.
Required Methods
fn respond(&self, answer: DialogResult)
Send the answer back. It can be to a widget or a channel.
Implementors
impl Responder for BlockingInputDialog
impl<WIDGET: Widget> Responder for InputDialog<WIDGET>