Enum egui_file_dialog::DialogState 
source · pub enum DialogState {
    Open,
    Closed,
    Selected(PathBuf),
    SelectedMultiple(Vec<PathBuf>),
    Cancelled,
}Expand description
Represents the state the file dialog is currently in.
Variants§
Open
The dialog is currently open and the user can perform the desired actions.
Closed
The dialog is currently closed and not visible.
Selected(PathBuf)
The user has selected a folder or file or specified a destination path for saving a file.
SelectedMultiple(Vec<PathBuf>)
The user has finished selecting multiple files and folders.
Cancelled
The user cancelled the dialog and didn’t select anything.
Trait Implementations§
source§impl Clone for DialogState
 
impl Clone for DialogState
source§fn clone(&self) -> DialogState
 
fn clone(&self) -> DialogState
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 DialogState
 
impl Debug for DialogState
source§impl PartialEq for DialogState
 
impl PartialEq for DialogState
impl Eq for DialogState
impl StructuralPartialEq for DialogState
Auto Trait Implementations§
impl Freeze for DialogState
impl RefUnwindSafe for DialogState
impl Send for DialogState
impl Sync for DialogState
impl Unpin for DialogState
impl UnwindSafe for DialogState
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)