Struct native_windows_gui::MessageParams
source · [−]pub struct MessageParams<'a> {
pub title: &'a str,
pub content: &'a str,
pub buttons: MessageButtons,
pub icons: MessageIcons,
}
Expand description
A structure that defines how a messagebox should look and behave.
Members:
title
: The title of the message boxcontent
: The message of the message boxbuttons
: The button of the message boxicons
: The message box icon
Fields
title: &'a str
content: &'a str
icons: MessageIcons
Trait Implementations
sourceimpl<'a> Clone for MessageParams<'a>
impl<'a> Clone for MessageParams<'a>
sourcefn clone(&self) -> MessageParams<'a>
fn clone(&self) -> MessageParams<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for MessageParams<'a>
impl<'a> Debug for MessageParams<'a>
sourceimpl<'a> PartialEq<MessageParams<'a>> for MessageParams<'a>
impl<'a> PartialEq<MessageParams<'a>> for MessageParams<'a>
sourcefn eq(&self, other: &MessageParams<'a>) -> bool
fn eq(&self, other: &MessageParams<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<'a> StructuralPartialEq for MessageParams<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for MessageParams<'a>
impl<'a> Send for MessageParams<'a>
impl<'a> Sync for MessageParams<'a>
impl<'a> Unpin for MessageParams<'a>
impl<'a> UnwindSafe for MessageParams<'a>
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