Enum nannou::ui::backend::glium::DrawError [−][src]
pub enum DrawError { Buffer(CreationError), Draw(DrawError), }
Possible errors that may occur during a call to Renderer::draw
.
Variants
Buffer(CreationError)
Errors that might occur upon construction of a glium::VertexBuffer
.
Draw(DrawError)
Errors that might occur when drawing to the glium::Surface
.
Trait Implementations
impl Debug for DrawError
[src]
impl Debug for DrawError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<DrawError> for DrawError
[src]
impl From<DrawError> for DrawError
impl From<CreationError> for DrawError
[src]
impl From<CreationError> for DrawError
fn from(err: CreationError) -> DrawError
[src]
fn from(err: CreationError) -> DrawError
Performs the conversion.
impl Error for DrawError
[src]
impl Error for DrawError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for DrawError
[src]
impl Display for DrawError