Enum conrod_glium::DrawError
source · pub enum DrawError {
Buffer(BufferCreationError),
Draw(DrawError),
}
Expand description
Possible errors that may occur during a call to Renderer::draw
.
Variants
Buffer(BufferCreationError)
Errors that might occur upon construction of a glium::VertexBuffer
.
Draw(DrawError)
Errors that might occur when drawing to the glium::Surface
.
Trait Implementations
sourceimpl Error for DrawError
impl Error for DrawError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<CreationError> for DrawError
impl From<CreationError> for DrawError
sourcefn from(err: BufferCreationError) -> Self
fn from(err: BufferCreationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for DrawError
impl Send for DrawError
impl Sync for DrawError
impl Unpin for DrawError
impl UnwindSafe for DrawError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more