Enum nannou::ui::backend::glium::RendererCreationError
[−]
[src]
pub enum RendererCreationError { Texture(TextureCreationError), Program(ProgramChooserCreationError), }
Possible errors that may occur during a call to Renderer::new
.
Variants
Texture(TextureCreationError)
Errors that might occur when creating the glyph cache texture.
Program(ProgramChooserCreationError)
Errors that might occur when constructing the shader program.
Trait Implementations
impl Error for RendererCreationError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for RendererCreationError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<ProgramChooserCreationError> for RendererCreationError
[src]
fn from(err: ProgramChooserCreationError) -> RendererCreationError
[src]
Performs the conversion.
impl From<TextureCreationError> for RendererCreationError
[src]
fn from(err: TextureCreationError) -> RendererCreationError
[src]
Performs the conversion.