pub enum DialogMode {
PickFile,
PickDirectory,
PickMultiple,
SaveFile,
}
Expand description
Represents the mode the file dialog is currently in.
Variants§
PickFile
When the dialog is currently used to select a single file.
PickDirectory
When the dialog is currently used to select a single directory.
PickMultiple
When the dialog is currently used to select multiple files and directories.
SaveFile
When the dialog is currently used to save a file.
Trait Implementations§
Source§impl Clone for DialogMode
impl Clone for DialogMode
Source§fn clone(&self) -> DialogMode
fn clone(&self) -> DialogMode
Returns a copy 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 moreSource§impl Debug for DialogMode
impl Debug for DialogMode
Source§impl PartialEq for DialogMode
impl PartialEq for DialogMode
impl Copy for DialogMode
impl Eq for DialogMode
impl StructuralPartialEq for DialogMode
Auto Trait Implementations§
impl Freeze for DialogMode
impl RefUnwindSafe for DialogMode
impl Send for DialogMode
impl Sync for DialogMode
impl Unpin for DialogMode
impl UnwindSafe for DialogMode
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