Struct mg::BlockingInputDialog [−][src]
pub struct BlockingInputDialog { /* fields omitted */ }
Blocking input dialog responder. This is used to send the message to a channel when the user answers the dialog.
Methods
impl BlockingInputDialog
[src]
impl BlockingInputDialog
pub fn new() -> (Self, Receiver<Option<String>>)
[src]
pub fn new() -> (Self, Receiver<Option<String>>)
Create a new blocking input dialog responder. The answer will be sent to the receiver.
Trait Implementations
impl Responder for BlockingInputDialog
[src]
impl Responder for BlockingInputDialog
fn respond(&self, answer: DialogResult)
[src]
fn respond(&self, answer: DialogResult)
Send the answer back. It can be to a widget or a channel. Read more
Auto Trait Implementations
impl Send for BlockingInputDialog
impl Send for BlockingInputDialog
impl Sync for BlockingInputDialog
impl Sync for BlockingInputDialog