pub struct FileHandle(/* private fields */);
Expand description
FileHandle is a way of abstracting over a file returned by a dialog
Implementations§
Source§impl FileHandle
impl FileHandle
Sourcepub fn wrap(path_buf: PathBuf) -> Self
pub fn wrap(path_buf: PathBuf) -> Self
On native platforms it wraps path.
On WASM32
it wraps JS File
object.
Trait Implementations§
Source§impl Debug for FileHandle
impl Debug for FileHandle
Auto Trait Implementations§
impl Freeze for FileHandle
impl RefUnwindSafe for FileHandle
impl Send for FileHandle
impl Sync for FileHandle
impl Unpin for FileHandle
impl UnwindSafe for FileHandle
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