pub struct FileSaveDialog<W = ()> { /* private fields */ }Expand description
A dialog for specifying a file to save.
Implementations§
Source§impl FileSaveDialog<()>
impl FileSaveDialog<()>
Source§impl<W> FileSaveDialog<W>
impl<W> FileSaveDialog<W>
pub fn title(self, title: impl Into<String>) -> Self
pub fn default_directory(self, path: impl Into<PathBuf>) -> Self
pub fn default_extension(self, ext: impl Into<String>) -> Self
pub fn file_name_label(self, label: impl Into<String>) -> Self
pub fn file_type_index(self, index: usize) -> Self
pub fn file_types(self, file_types: impl FilterSpecs) -> Self
pub fn options(self, options: FileDialogOptions) -> Self
Auto Trait Implementations§
impl<W> Freeze for FileSaveDialog<W>where
W: Freeze,
impl<W> RefUnwindSafe for FileSaveDialog<W>where
W: RefUnwindSafe,
impl<W> Send for FileSaveDialog<W>where
W: Send,
impl<W> Sync for FileSaveDialog<W>where
W: Sync,
impl<W> Unpin for FileSaveDialog<W>where
W: Unpin,
impl<W> UnwindSafe for FileSaveDialog<W>where
W: UnwindSafe,
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