pub struct Message { /* private fields */ }
Expand description
A message box.
This dialog box displays a text and an optional title and has a single OK button. It does not produce any output.
Example
use dialog::DialogBox;
dialog::Message::new("The operation was successful.")
.title("Success")
.show()
.expect("Could not display dialog box");
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more