Enum egui_file_dialog::DialogState
source · pub enum DialogState {
Open,
Closed,
Selected(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.
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
source§fn eq(&self, other: &DialogState) -> bool
fn eq(&self, other: &DialogState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DialogState
impl StructuralPartialEq for DialogState
Auto Trait Implementations§
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