pub enum OpticErrorKind {
Init,
OpenGL,
Shader,
Asset,
File,
Framebuffer,
Custom,
}Expand description
Broad category of an error.
Variants§
Trait Implementations§
Source§impl Clone for OpticErrorKind
impl Clone for OpticErrorKind
Source§fn clone(&self) -> OpticErrorKind
fn clone(&self) -> OpticErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OpticErrorKind
impl Debug for OpticErrorKind
Source§impl PartialEq for OpticErrorKind
impl PartialEq for OpticErrorKind
Source§fn eq(&self, other: &OpticErrorKind) -> bool
fn eq(&self, other: &OpticErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpticErrorKind
Auto Trait Implementations§
impl Freeze for OpticErrorKind
impl RefUnwindSafe for OpticErrorKind
impl Send for OpticErrorKind
impl Sync for OpticErrorKind
impl Unpin for OpticErrorKind
impl UnsafeUnpin for OpticErrorKind
impl UnwindSafe for OpticErrorKind
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