Enum nannou::ui::backend::glium::glium::texture::TextureCreationError
[−]
[src]
pub enum TextureCreationError { FormatNotSupported, DimensionsNotSupported, TypeNotSupported, }
Error that can happen when creating a texture.
Variants
FormatNotSupported
The requested format is not supported by the backend.
DimensionsNotSupported
The requested texture dimensions are not supported.
TypeNotSupported
The texture format is not supported by the backend.
Trait Implementations
impl Copy for TextureCreationError
[src]
impl Error for TextureCreationError
[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 PartialEq<TextureCreationError> for TextureCreationError
[src]
fn eq(&self, __arg_0: &TextureCreationError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for TextureCreationError
[src]
fn clone(&self) -> TextureCreationError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for TextureCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Eq for TextureCreationError
[src]
impl From<FormatNotSupportedError> for TextureCreationError
[src]
fn from(FormatNotSupportedError) -> TextureCreationError
[src]
Performs the conversion.
impl Debug for TextureCreationError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<TextureCreationError> for RendererCreationError
[src]
fn from(err: TextureCreationError) -> RendererCreationError
[src]
Performs the conversion.