pub struct SaveFilePickerResult {
pub file: Option<Rc<dyn IStorageFile>>,
pub selected_file_type: Option<Rc<FilePickerFileType>>,
}Expand description
Extended result of the
IStorageProvider::save_file_picker_with_result_async
operation.
Fields§
§file: Option<Rc<dyn IStorageFile>>The file picked by the user, or None 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 SaveFilePickerResult
impl Clone for SaveFilePickerResult
Source§impl Default for SaveFilePickerResult
impl Default for SaveFilePickerResult
Source§impl PartialEq for SaveFilePickerResult
Value equality over the members, each of which is a reference: two
results are equal when they hold the same file and the same file type.
impl PartialEq for SaveFilePickerResult
Value equality over the members, each of which is a reference: two results are equal when they hold the same file and the same file type.
Auto Trait Implementations§
impl !RefUnwindSafe for SaveFilePickerResult
impl !Send for SaveFilePickerResult
impl !Sync for SaveFilePickerResult
impl !UnwindSafe for SaveFilePickerResult
impl Freeze for SaveFilePickerResult
impl Unpin for SaveFilePickerResult
impl UnsafeUnpin for SaveFilePickerResult
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