Struct win_nfd::shobjidl::FileDialog
source · #[repr(transparent)]pub struct FileDialog(_);
Implementations§
source§impl FileDialog
impl 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