pub trait ShowDialog {
// Required method
fn show_dialog(&self, dialog: &FileDialog, on_close: DialogHandler);
}Expand description
Shows file dialogs; every Backend is one, so code that isn’t generic over the
backend can hold it as Rc<dyn ShowDialog>.
Required Methods§
fn show_dialog(&self, dialog: &FileDialog, on_close: DialogHandler)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".