Select

Trait Select 

Source
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§

Source

const SELECT_MULTIPLE: bool

Whether to select multiple files inside the dialog.

Required Associated Types§

Source

type Selection: Debug

Output of the selection.

Required Methods§

Source

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.

Implementors§