pub struct DialogResponse {
pub response: Response,
pub closed: bool,
pub backdrop_clicked: bool,
}Expand description
Response from a dialog
Fields§
§response: ResponseThe UI response
closed: boolWhether the dialog was closed this frame
backdrop_clicked: boolWhether the backdrop was clicked
Auto Trait Implementations§
impl Freeze for DialogResponse
impl !RefUnwindSafe for DialogResponse
impl Send for DialogResponse
impl Sync for DialogResponse
impl Unpin for DialogResponse
impl UnsafeUnpin for DialogResponse
impl !UnwindSafe for DialogResponse
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