pub enum FileSelectionMode {
Open,
Save,
}
Expand description
The type of a file selection dialog.
Variants§
Open
An Open File dialog, meaning that the user can only select an existing file.
Save
A Save File dialog, meaning that the user is allowed to select a non-existing file.
Trait Implementations§
Source§impl Clone for FileSelectionMode
impl Clone for FileSelectionMode
Source§fn clone(&self) -> FileSelectionMode
fn clone(&self) -> FileSelectionMode
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 FileSelectionMode
impl Debug for FileSelectionMode
Source§impl PartialEq for FileSelectionMode
impl PartialEq for FileSelectionMode
impl Copy for FileSelectionMode
impl StructuralPartialEq for FileSelectionMode
Auto Trait Implementations§
impl Freeze for FileSelectionMode
impl RefUnwindSafe for FileSelectionMode
impl Send for FileSelectionMode
impl Sync for FileSelectionMode
impl Unpin for FileSelectionMode
impl UnwindSafe for FileSelectionMode
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