Enum glium::GliumCreationError [] [src]

pub enum GliumCreationError<T> {
    BackendCreationError(T),
    IncompatibleOpenGl(String),
}

Error that can happen while creating a glium display.

Variants

BackendCreationError

An error has happened while creating the backend.

IncompatibleOpenGl

The OpenGL implementation is too old.

Trait Implementations

impl<T> Display for GliumCreationError<T> where T: Error

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

impl<T> Error for GliumCreationError<T> where T: Error

fn description(&self) -> &str

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

impl<T> From<T> for GliumCreationError<T>

fn from(err: T) -> GliumCreationError<T>

Derived Implementations

impl<T: Eq> Eq for GliumCreationError<T>

impl<T: PartialEq> PartialEq for GliumCreationError<T>

fn eq(&self, __arg_0: &GliumCreationError<T>) -> bool

fn ne(&self, __arg_0: &GliumCreationError<T>) -> bool

impl<T: Debug> Debug for GliumCreationError<T>

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

impl<T: Clone> Clone for GliumCreationError<T>

fn clone(&self) -> GliumCreationError<T>

fn clone_from(&mut self, source: &Self)