pub enum WebGlContextError {
RetrievalError,
NotFoundError,
TypeConversionError,
}Variants§
Trait Implementations§
Source§impl Clone for WebGlContextError
impl Clone for WebGlContextError
Source§fn clone(&self) -> WebGlContextError
fn clone(&self) -> WebGlContextError
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 WebGlContextError
impl Debug for WebGlContextError
Source§impl Display for WebGlContextError
impl Display for WebGlContextError
Source§impl Error for WebGlContextError
impl Error for WebGlContextError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<WebGlContextError> for RendererBuilderError
impl From<WebGlContextError> for RendererBuilderError
Source§fn from(source: WebGlContextError) -> Self
fn from(source: WebGlContextError) -> Self
Converts to this type from the input type.
Source§impl Hash for WebGlContextError
impl Hash for WebGlContextError
Source§impl PartialEq for WebGlContextError
impl PartialEq for WebGlContextError
impl Eq for WebGlContextError
impl StructuralPartialEq for WebGlContextError
Auto Trait Implementations§
impl Freeze for WebGlContextError
impl RefUnwindSafe for WebGlContextError
impl Send for WebGlContextError
impl Sync for WebGlContextError
impl Unpin for WebGlContextError
impl UnwindSafe for WebGlContextError
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