pub enum GlError {
UnknownError(Option<String>),
ShaderCompilationError {
source: String,
info: Option<String>,
},
ProgramLinkingError {
vertex: String,
fragment: String,
info: Option<String>,
},
ExtensionNotFound(String),
UnsupportedType(Option<String>),
BufferAllocationError,
ReadPixelsError(Option<String>),
WritePixelsError(Option<String>),
InitTextureBufferError(Option<String>),
InvalidBufferSize {
expected: u32,
received: u32,
},
DepthBufferError,
FrameBufferError,
}
Variants§
UnknownError(Option<String>)
ShaderCompilationError
ProgramLinkingError
ExtensionNotFound(String)
UnsupportedType(Option<String>)
BufferAllocationError
ReadPixelsError(Option<String>)
WritePixelsError(Option<String>)
InitTextureBufferError(Option<String>)
InvalidBufferSize
DepthBufferError
FrameBufferError
Trait Implementations§
impl Eq for GlError
impl StructuralPartialEq for GlError
Auto Trait Implementations§
impl Freeze for GlError
impl RefUnwindSafe for GlError
impl Send for GlError
impl Sync for GlError
impl Unpin for GlError
impl UnwindSafe for GlError
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