pub struct DialogAnswer {
pub accept: bool,
pub text: Option<String>,
}Expand description
How a dialog is closed: OK (with a prompt’s text) or Cancel.
Fields§
§accept: bool§text: Option<String>Trait Implementations§
Source§impl Clone for DialogAnswer
impl Clone for DialogAnswer
Source§impl Debug for DialogAnswer
impl Debug for DialogAnswer
impl Eq for DialogAnswer
Source§impl PartialEq for DialogAnswer
impl PartialEq for DialogAnswer
impl StructuralPartialEq for DialogAnswer
Auto Trait Implementations§
impl Forget for DialogAnswer
impl Freeze for DialogAnswer
impl Move for DialogAnswer
impl RefUnwindSafe for DialogAnswer
impl Send for DialogAnswer
impl Sync for DialogAnswer
impl Unpin for DialogAnswer
impl UnsafeUnpin for DialogAnswer
impl UnwindSafe for DialogAnswer
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