pub enum Picked {
Chosen(Vec<String>),
Cancelled,
Failed(String),
}Expand description
How a dialog closed.
Variants§
Chosen(Vec<String>)
The paths the user chose: exactly one, except for DialogKind::Files.
Cancelled
Failed(String)
The platform couldn’t show the dialog or read its answer.
Trait Implementations§
impl Eq for Picked
impl StructuralPartialEq for Picked
Auto Trait Implementations§
impl Freeze for Picked
impl RefUnwindSafe for Picked
impl Send for Picked
impl Sync for Picked
impl Unpin for Picked
impl UnsafeUnpin for Picked
impl UnwindSafe for Picked
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