pub struct PickFolderOptions {
pub title: Option<String>,
pub starting_directory: Option<PathBuf>,
}Expand description
Configuration options for selecting a folder.
Fields§
§title: Option<String>§starting_directory: Option<PathBuf>Implementations§
Source§impl PickFolderOptions
impl PickFolderOptions
pub fn new() -> Self
pub fn with_title(self, title: impl Into<String>) -> Self
pub fn with_directory(self, directory: impl Into<PathBuf>) -> Self
Trait Implementations§
Source§impl Clone for PickFolderOptions
impl Clone for PickFolderOptions
Source§impl Debug for PickFolderOptions
impl Debug for PickFolderOptions
Auto Trait Implementations§
impl Forget for PickFolderOptions
impl Freeze for PickFolderOptions
impl Move for PickFolderOptions
impl RefUnwindSafe for PickFolderOptions
impl Send for PickFolderOptions
impl Sync for PickFolderOptions
impl Unpin for PickFolderOptions
impl UnsafeUnpin for PickFolderOptions
impl UnwindSafe for PickFolderOptions
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