Enum glium::GliumCreationError
[−]
[src]
pub enum GliumCreationError<T> {
BackendCreationError(T),
IncompatibleOpenGl(String),
}Error that can happen while creating a glium display.
Variants
BackendCreationError(T)An error has happened while creating the backend.
IncompatibleOpenGl(String)The OpenGL implementation is too old.
Trait Implementations
impl<T: Eq> Eq for GliumCreationError<T>[src]
impl<T: PartialEq> PartialEq for GliumCreationError<T>[src]
fn eq(&self, __arg_0: &GliumCreationError<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &GliumCreationError<T>) -> bool
This method tests for !=.
impl<T: Debug> Debug for GliumCreationError<T>[src]
impl<T: Clone> Clone for GliumCreationError<T>[src]
fn clone(&self) -> GliumCreationError<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<T: Error> Display for GliumCreationError<T>[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<T: Error> Error for GliumCreationError<T>[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any.
impl<T: Error> From<T> for GliumCreationError<T>[src]
fn from(err: T) -> GliumCreationError<T>
Performs the conversion.