pub enum Error {
Gl(&'static str, c_uint),
Fn(&'static str),
Sl(LoadingError),
Dl(String),
}
Expand description
Possible errors.
Variants§
Gl(&'static str, c_uint)
Open-GL error with the name of the function which caused the error and the error code returned by glGetError().
Fn(&'static str)
Is used when the return value of a function call indicates an error.
Sl(LoadingError)
Shared library error.
Dl(String)
Dynamic library error.
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