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
InitError(InitError)
Initialization of the surface went wrong.
This variant exposes a glfw error for further information about what went wrong.
WindowCreationFailed
Window creation failed.
NoPrimaryMonitor
No primary monitor detected.
NoVideoMode
No available video mode.
GraphicsStateError(StateQueryError)
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]
impl Debug for GlfwSurfaceError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for GlfwSurfaceError
[src]
impl Display for GlfwSurfaceError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for GlfwSurfaceError
[src]
impl Error for GlfwSurfaceError
Auto Trait Implementations
impl Send for GlfwSurfaceError
impl Send for GlfwSurfaceError
impl Sync for GlfwSurfaceError
impl Sync for GlfwSurfaceError