Enum egui_file_dialog::DialogMode
source · pub enum DialogMode {
SelectFile,
SelectDirectory,
SaveFile,
}
Expand description
Represents the mode the file dialog is currently in.
Variants§
SelectFile
When the dialog is currently used to select a file
SelectDirectory
When the dialog is currently used to select a directory
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
source§fn eq(&self, other: &DialogMode) -> bool
fn eq(&self, other: &DialogMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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