Enum glium::backend::glutin::DisplayCreationError
source · pub enum DisplayCreationError {
GlutinCreationError(CreationError),
IncompatibleOpenGl(IncompatibleOpenGl),
}
Expand description
Error that can happen while creating a glium display.
Variants§
GlutinCreationError(CreationError)
An error has happened while creating the backend.
IncompatibleOpenGl(IncompatibleOpenGl)
The OpenGL implementation is too old.
Trait Implementations§
source§impl Debug for DisplayCreationError
impl Debug for DisplayCreationError
source§impl Display for DisplayCreationError
impl Display for DisplayCreationError
source§impl Error for DisplayCreationError
impl Error for DisplayCreationError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<CreationError> for DisplayCreationError
impl From<CreationError> for DisplayCreationError
source§fn from(err: CreationError) -> DisplayCreationError
fn from(err: CreationError) -> DisplayCreationError
Converts to this type from the input type.
source§impl From<IncompatibleOpenGl> for DisplayCreationError
impl From<IncompatibleOpenGl> for DisplayCreationError
source§fn from(err: IncompatibleOpenGl) -> DisplayCreationError
fn from(err: IncompatibleOpenGl) -> DisplayCreationError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DisplayCreationError
impl Send for DisplayCreationError
impl !Sync for DisplayCreationError
impl Unpin for DisplayCreationError
impl !UnwindSafe for DisplayCreationError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more