Struct win_nfd::shobjidl::FileSaveDialog
source · #[repr(transparent)]pub struct FileSaveDialog(_);
Expand description
A File Save Dialog
Implementations§
source§impl FileSaveDialog
impl FileSaveDialog
sourcepub fn new() -> Result<Self, HResult>
pub fn new() -> Result<Self, HResult>
Make a new FileSaveDialog
.
Methods from Deref<Target = FileDialog>§
sourcepub fn set_default_folder(&self, item: ShellItem) -> Result<(), HResult>
pub fn set_default_folder(&self, item: ShellItem) -> Result<(), HResult>
Set the default folder
sourcepub fn set_filetypes(&self, filters: &FileFilters<'_>) -> Result<(), HResult>
pub fn set_filetypes(&self, filters: &FileFilters<'_>) -> Result<(), HResult>
sourcepub fn get_result(&self) -> Result<ShellItem, HResult>
pub fn get_result(&self) -> Result<ShellItem, HResult>
Get single result