pub enum FileChooserMode {
OpenFile,
PickFolder,
SaveFile,
}Expand description
What a WidgetKind::FileChooserDialog lets the user pick.
Variants§
OpenFile
Pick an existing file (the historical behavior).
PickFolder
Pick a folder (“Open Folder…”).
SaveFile
Choose a (possibly new) file to write (“Save As…”).
Implementations§
Trait Implementations§
Source§impl Clone for FileChooserMode
impl Clone for FileChooserMode
impl Copy for FileChooserMode
Source§impl Debug for FileChooserMode
impl Debug for FileChooserMode
Source§impl Default for FileChooserMode
impl Default for FileChooserMode
impl Eq for FileChooserMode
Source§impl Hash for FileChooserMode
impl Hash for FileChooserMode
Source§impl PartialEq for FileChooserMode
impl PartialEq for FileChooserMode
impl StructuralPartialEq for FileChooserMode
Auto Trait Implementations§
impl Forget for FileChooserMode
impl Freeze for FileChooserMode
impl Move for FileChooserMode
impl RefUnwindSafe for FileChooserMode
impl Send for FileChooserMode
impl Sync for FileChooserMode
impl Unpin for FileChooserMode
impl UnsafeUnpin for FileChooserMode
impl UnwindSafe for FileChooserMode
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