pub struct OpenFilePickerResult {
pub files: Vec<Rc<dyn IStorageFile>>,
pub selected_file_type: Option<Rc<FilePickerFileType>>,
}Expand description
Extended result of the
IStorageProvider::open_file_picker_with_result_async
operation.
Fields§
§files: Vec<Rc<dyn IStorageFile>>The list of files picked by the user, empty if the user canceled the dialog.
selected_file_type: Option<Rc<FilePickerFileType>>The file type selected by the user in the dialog.
This value is None if the user canceled the dialog. It can also
be None if the platform does not provide this information.
Trait Implementations§
Source§impl Clone for OpenFilePickerResult
impl Clone for OpenFilePickerResult
Source§impl Default for OpenFilePickerResult
impl Default for OpenFilePickerResult
Source§impl PartialEq for OpenFilePickerResult
Value equality over the members, each of which is a reference: two
results are equal when they hold the same files and the same file type.
impl PartialEq for OpenFilePickerResult
Value equality over the members, each of which is a reference: two results are equal when they hold the same files and the same file type.
Auto Trait Implementations§
impl !RefUnwindSafe for OpenFilePickerResult
impl !Send for OpenFilePickerResult
impl !Sync for OpenFilePickerResult
impl !UnwindSafe for OpenFilePickerResult
impl Freeze for OpenFilePickerResult
impl Unpin for OpenFilePickerResult
impl UnsafeUnpin for OpenFilePickerResult
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more