Enum sdl2::messagebox::ShowMessageError [] [src]

pub enum ShowMessageError {
    InvalidTitle(NulError),
    InvalidMessage(NulError),
    InvalidButton(NulErrori32),
    SdlError(String),
}

Variants

Second argument of the tuple (i32) corresponds to the first button_id having an error

Trait Implementations

impl Debug for ShowMessageError
[src]

[src]

Formats the value using the given formatter.

impl Display for ShowMessageError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for ShowMessageError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more