pub enum GLCoreError {
NullFunctionPointer(&'static str),
InvalidEnum(&'static str),
InvalidValue(&'static str),
InvalidOperation(&'static str),
InvalidFramebufferOperation(&'static str),
OutOfMemory(&'static str),
StackUnderflow(&'static str),
StackOverflow(&'static str),
UnknownError((GLenum, &'static str)),
}
Expand description
The OpenGL error type
Variants§
NullFunctionPointer(&'static str)
InvalidEnum(&'static str)
InvalidValue(&'static str)
InvalidOperation(&'static str)
InvalidFramebufferOperation(&'static str)
OutOfMemory(&'static str)
StackUnderflow(&'static str)
StackOverflow(&'static str)
UnknownError((GLenum, &'static str))
Trait Implementations§
Source§impl Clone for GLCoreError
impl Clone for GLCoreError
Source§fn clone(&self) -> GLCoreError
fn clone(&self) -> GLCoreError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GLCoreError
impl Debug for GLCoreError
impl Copy for GLCoreError
Auto Trait Implementations§
impl Freeze for GLCoreError
impl RefUnwindSafe for GLCoreError
impl Send for GLCoreError
impl Sync for GLCoreError
impl Unpin for GLCoreError
impl UnwindSafe for GLCoreError
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