pub trait DialogBox {
type Output;
fn show_with<B>(&self, backend: impl AsRef<B>) -> Result<Self::Output>
where
B: Backend + ?Sized;
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
.