pub struct FileDialogState { /* private fields */ }Expand description
Simple modal dialog that lets the user browse and pick files.
Implementations§
Source§impl FileDialogState
impl FileDialogState
Sourcepub fn file_name(&self) -> &Option<String>
pub fn file_name(&self) -> &Option<String>
Returns the selected file name if the dialog completed successfully.
Sourcepub fn new<R: Renderer>(ctx: &mut Context<R>) -> Self
pub fn new<R: Renderer>(ctx: &mut Context<R>) -> Self
Creates a new dialog window and associated panels.
Auto Trait Implementations§
impl Freeze for FileDialogState
impl !RefUnwindSafe for FileDialogState
impl !Send for FileDialogState
impl !Sync for FileDialogState
impl Unpin for FileDialogState
impl !UnwindSafe for FileDialogState
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