[][src]Struct native_windows_gui::MessageParams

pub struct MessageParams<'a> {
    pub title: &'a str,
    pub content: &'a str,
    pub buttons: MessageButtons,
    pub icons: MessageIcons,
}

A structure that defines how a messagebox should look and behave.

Members:

  • title: The title of the message box
  • content: The message of the message box
  • buttons: The button of the message box
  • icons: The message box icon

Fields

title: &'a strcontent: &'a strbuttons: MessageButtonsicons: MessageIcons

Trait Implementations

impl<'a> Clone for MessageParams<'a>[src]

impl<'a> Debug for MessageParams<'a>[src]

impl<'a> PartialEq<MessageParams<'a>> for MessageParams<'a>[src]

impl<'a> StructuralPartialEq for MessageParams<'a>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.