pub struct FileDialog { /* private fields */ }Implementations§
Source§impl FileDialog
impl FileDialog
pub fn new<S: Into<String>>(title: S) -> Self
pub fn with_path<S: Into<String>>(self, path: S) -> Self
pub fn with_filter<S: Into<String>>( self, patterns: &[&str], description: S, ) -> Self
pub fn with_multiple_selection(self, allow_multi: bool) -> Self
pub fn path(&self) -> &str
pub fn filter_patterns(&self) -> &[String]
pub fn filter_description(&self) -> &str
pub fn multiple_selection(&self) -> bool
pub fn save_file(&self) -> Option<String>
pub fn open_file(&self) -> Option<String>
pub fn open_files(&self) -> Option<Vec<String>>
pub fn select_folder(&self) -> Option<String>
Auto Trait Implementations§
impl Freeze for FileDialog
impl RefUnwindSafe for FileDialog
impl Send for FileDialog
impl Sync for FileDialog
impl Unpin for FileDialog
impl UnwindSafe for FileDialog
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