Enum luminance_glfw::error::GlfwSurfaceError[][src]

pub enum GlfwSurfaceError {
    InitError(InitError),
    WindowCreationFailed,
    NoPrimaryMonitor,
    NoVideoMode,
    GraphicsStateError(StateQueryError),
}

Error that can be risen while creating a surface.

Variants

Initialization of the surface went wrong.

This variant exposes a glfw error for further information about what went wrong.

Window creation failed.

No primary monitor detected.

No available video mode.

The graphics state is not available.

This error is generated when the initialization code is called on a thread on which the graphics state has already been acquired.

Trait Implementations

impl Debug for GlfwSurfaceError
[src]

Formats the value using the given formatter. Read more

impl Display for GlfwSurfaceError
[src]

Formats the value using the given formatter. Read more

impl Error for GlfwSurfaceError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations