Enum minifb::Error [] [src]

pub enum Error {
    MenusNotSupported,
    MenuExists(String),
    WindowCreate(String),
}

Errors that can be return from various operatiors

Variants

MenusNotSupported

Returned if menu Menu function isn't supported

MenuExists(String)

Menu already exists

WindowCreate(String)

Menu already exists

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl StdError for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&StdError>

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

impl Display for Error
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.