pub enum OpeningMode {
AlwaysInitialDir,
LastVisitedDir,
LastPickedDir,
}
Expand description
Sets which directory is loaded when opening the file dialog.
Variants§
AlwaysInitialDir
The configured initial directory (FileDialog::initial_directory
) should always be opened.
LastVisitedDir
The directory most recently visited by the user should be opened regardless of whether anything was picked.
LastPickedDir
The last directory from which the user picked an item should be opened.
Trait Implementations§
Source§impl Clone for OpeningMode
impl Clone for OpeningMode
Source§fn clone(&self) -> OpeningMode
fn clone(&self) -> OpeningMode
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 OpeningMode
impl Debug for OpeningMode
Source§impl PartialEq for OpeningMode
impl PartialEq for OpeningMode
impl Eq for OpeningMode
impl StructuralPartialEq for OpeningMode
Auto Trait Implementations§
impl Freeze for OpeningMode
impl RefUnwindSafe for OpeningMode
impl Send for OpeningMode
impl Sync for OpeningMode
impl Unpin for OpeningMode
impl UnwindSafe for OpeningMode
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