pub struct ExportFileLauncher { /* private fields */ }Expand description
Presents the save-document chooser for a local file and copies the file to the chosen place; hands back whether it was saved.
Implementations§
Source§impl ExportFileLauncher
impl ExportFileLauncher
Sourcepub fn launch(&self, path: PathBuf, request: SaveDocumentRequest)
pub fn launch(&self, path: PathBuf, request: SaveDocumentRequest)
Presents the chooser for the file at path. A second call while one
is in front or copying is ignored.
Sourcepub fn is_in_flight(&self) -> bool
pub fn is_in_flight(&self) -> bool
Whether a chooser presented by this launcher is still in front, or its copy still runs.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ExportFileLauncher
impl !Send for ExportFileLauncher
impl !Sync for ExportFileLauncher
impl !UnwindSafe for ExportFileLauncher
impl Freeze for ExportFileLauncher
impl Unpin for ExportFileLauncher
impl UnsafeUnpin for ExportFileLauncher
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