pub enum Error {
NoError,
InvalidEnum,
InvalidValue,
InvalidOperation,
InvalidFramebufferOperation,
OutOfMemory,
ContextLostWebgl,
}
Expand description
Constants returned from WebGLRenderingContext.getError().
Variants§
NoError
Returned from getError.
InvalidEnum
Returned from getError.
InvalidValue
Returned from getError.
InvalidOperation
Returned from getError.
InvalidFramebufferOperation
Returned from getError.
OutOfMemory
Returned from getError.
ContextLostWebgl
Returned from getError.
Trait Implementations§
source§impl FromWasmAbi for Error
impl FromWasmAbi for Error
source§impl IntoWasmAbi for Error
impl IntoWasmAbi for Error
source§impl OptionFromWasmAbi for Error
impl OptionFromWasmAbi for Error
source§impl OptionIntoWasmAbi for Error
impl OptionIntoWasmAbi for Error
impl Copy for Error
Auto Trait Implementations§
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more