pub struct Dismissed {
pub dialog: DialogInfo,
pub closed: bool,
}Expand description
What happened to a dialog that was dismissed.
Fields§
§dialog: DialogInfoWhat the dialog was showing, read before it was asked to close.
closed: boolWhether the window was gone when it was checked again.
false is not necessarily a failure: a dialog can take a moment to
unwind, and a modal loop that is not processing messages yet will not
see the request until it starts. It does mean the caller should not
assume the way is clear.
Trait Implementations§
impl Eq for Dismissed
impl StructuralPartialEq for Dismissed
Auto Trait Implementations§
impl Freeze for Dismissed
impl RefUnwindSafe for Dismissed
impl Send for Dismissed
impl Sync for Dismissed
impl Unpin for Dismissed
impl UnsafeUnpin for Dismissed
impl UnwindSafe for Dismissed
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