pub enum PickedFolder {
Path(PathBuf),
Handle(Box<dyn FolderHandle>),
}Expand description
A folder the user picked, as the system gives it.
Variants§
Path(PathBuf)
macOS, iOS, Windows and Linux: a path the app reads and writes in as any folder.
Handle(Box<dyn FolderHandle>)
The web’s directory handle, and Android’s document tree.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PickedFolder
impl !Send for PickedFolder
impl !Sync for PickedFolder
impl !UnwindSafe for PickedFolder
impl Freeze for PickedFolder
impl Unpin for PickedFolder
impl UnsafeUnpin for PickedFolder
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