Enum winit::CreationError [] [src]

pub enum CreationError {
    OsError(String),
    NotSupported,
}

Error that can happen while creating a window or a headless renderer.

Variants

OsError(String)NotSupported

TODO: remove this error

Trait Implementations

impl Debug for CreationError
[src]

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

Formats the value using the given formatter.

impl Display for CreationError
[src]

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

Formats the value using the given formatter.

impl Error for CreationError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

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