pub struct SaveFilePickerEventArgs { /* private fields */ }Expand description
Event args raised after a save file pick operation completes.
Implementations§
Source§impl SaveFilePickerEventArgs
impl SaveFilePickerEventArgs
Sourcepub fn new(file: StorageFileRef) -> Self
pub fn new(file: StorageFileRef) -> Self
Initializes a new instance with the file returned by the picker.
Sourcepub fn file(&self) -> &StorageFileRef
pub fn file(&self) -> &StorageFileRef
Gets the file returned by the picker.
Sourcepub fn handled(&self) -> bool
pub fn handled(&self) -> bool
Gets or sets a value indicating whether the pick operation has been handled.
pub fn set_handled(&self, value: bool)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SaveFilePickerEventArgs
impl !RefUnwindSafe for SaveFilePickerEventArgs
impl !Send for SaveFilePickerEventArgs
impl !Sync for SaveFilePickerEventArgs
impl !UnwindSafe for SaveFilePickerEventArgs
impl Unpin for SaveFilePickerEventArgs
impl UnsafeUnpin for SaveFilePickerEventArgs
Blanket Implementations§
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