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
sourceimpl PartialEq<GlError> for GlError
impl PartialEq<GlError> for GlError
impl Eq for GlError
impl StructuralEq for GlError
impl StructuralPartialEq for GlError
Auto Trait Implementations
impl RefUnwindSafe for GlError
impl Send for GlError
impl Sync for GlError
impl Unpin for GlError
impl UnwindSafe for GlError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more