pub trait DialogBox {
type Output;
fn show_with(&self, backend: &impl Backend) -> Result<Self::Output>;
fn show(&self) -> Result<Self::Output> { ... }
}
Expand description
A dialog box that can be shown using a backend.
Some dialog boxes might return data of the type Output
.