pub enum ModalAction {
None,
SaveFile(PathBuf),
}Expand description
Contains actions that are executed by the file dialog when closing a modal.
Variants§
None
If no action should be executed.
SaveFile(PathBuf)
If the file dialog should save the specified path.
Should only be used if the FileDialog is in FileDialogMode::SaveFile mode.
Trait Implementations§
Source§impl Clone for ModalAction
impl Clone for ModalAction
Source§fn clone(&self) -> ModalAction
fn clone(&self) -> ModalAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModalAction
impl RefUnwindSafe for ModalAction
impl Send for ModalAction
impl Sync for ModalAction
impl Unpin for ModalAction
impl UnwindSafe for ModalAction
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