[−][src]Struct wfd::OpenDialogResult
The result of an Open Dialog after the user has selected one or more files (or a folder)
Fields
selected_file_path: PathBuf
The first file path that the user selected. Provided as a convenience for use when
FOS_ALLOWMULTISELECT
is not enabled. If multiple files are selected this field contains
the first selected file path.
selected_file_paths: Vec<PathBuf>
The file paths that the user selected. Will only ever contain a single file path if
FOS_ALLOWMULTISELECT
is not enabled.
selected_file_type_index: u32
The 1-based index of the file type that was selected in the File Type dropdown
Trait Implementations
Auto Trait Implementations
impl Send for OpenDialogResult
impl Sync for OpenDialogResult
impl Unpin for OpenDialogResult
impl UnwindSafe for OpenDialogResult
impl RefUnwindSafe for OpenDialogResult
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,