[][src]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.

Loading content...

Implementors

impl Responder for BlockingInputDialog[src]

impl<WIDGET: Widget> Responder for InputDialog<WIDGET>[src]

Loading content...