pub enum Error {
NoError = 0,
InvalidEnum = 1_280,
InvalidValue = 1_281,
InvalidOperation = 1_282,
OutOfMemory = 1_285,
ContextLostWebgl = 37_442,
}
Expand description
Constants returned from WebGLRenderingContext.getError().
Variants§
NoError = 0
Returned from getError.
InvalidEnum = 1_280
Returned from getError.
InvalidValue = 1_281
Returned from getError.
InvalidOperation = 1_282
Returned from getError.
OutOfMemory = 1_285
Returned from getError.
ContextLostWebgl = 37_442
Returned from getError.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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