pub trait Select: Debug {
type Selection: Debug;
const SELECT_MULTIPLE: bool;
// Required method
fn select(dialog: &FileChooserNative) -> Self::Selection;
}Expand description
Type of selection used for the open dialog.
Required Associated Constants§
Sourceconst SELECT_MULTIPLE: bool
const SELECT_MULTIPLE: bool
Whether to select multiple files inside the dialog.
Required Associated Types§
Required Methods§
Sourcefn select(dialog: &FileChooserNative) -> Self::Selection
fn select(dialog: &FileChooserNative) -> Self::Selection
Construct selection from the file chooser.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.