pub enum DialogState {
Open,
Closed,
Picked(PathBuf),
PickedMultiple(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.
Picked(PathBuf)
The user has selected a folder or file or specified a destination path for saving a file.
PickedMultiple(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