#[repr(u32)]pub enum Error {
InvalidEnum = 1_280,
InvalidValue = 1_281,
InvalidOperation = 1_282,
OutOfMemory = 1_285,
InvalidFramebufferOperation = 1_286,
ContextLost = 37_442,
Unknown = 37443,
}
Variants§
InvalidEnum = 1_280
InvalidValue = 1_281
InvalidOperation = 1_282
OutOfMemory = 1_285
InvalidFramebufferOperation = 1_286
ContextLost = 37_442
Unknown = 37443
Trait Implementations§
source§impl PartialEq for Error
impl PartialEq for Error
source§impl TryFrom<u32> for Error
impl TryFrom<u32> for Error
§type Error = TryFromPrimitiveError<Error>
type Error = TryFromPrimitiveError<Error>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Error
impl TryFromPrimitive for Error
impl Copy for Error
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq 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> 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