pub struct FolderOptions {
pub initial_folder: Option<PathBuf>,
pub confirm_label: Option<String>,
pub writable: bool,
}Expand description
How to ask for a folder.
Fields§
§initial_folder: Option<PathBuf>§confirm_label: Option<String>§writable: boolWhether the app may write in the folder picked, where a pick grants reading alone.
Trait Implementations§
Source§impl Clone for FolderOptions
impl Clone for FolderOptions
Source§impl Debug for FolderOptions
impl Debug for FolderOptions
Source§impl Default for FolderOptions
impl Default for FolderOptions
impl Eq for FolderOptions
Source§impl PartialEq for FolderOptions
impl PartialEq for FolderOptions
impl StructuralPartialEq for FolderOptions
Auto Trait Implementations§
impl Freeze for FolderOptions
impl RefUnwindSafe for FolderOptions
impl Send for FolderOptions
impl Sync for FolderOptions
impl Unpin for FolderOptions
impl UnsafeUnpin for FolderOptions
impl UnwindSafe for FolderOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.