Enum 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 Debug for TextureCreationError
[src]
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 Copy for TextureCreationError
[src]
impl PartialEq 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 Eq for TextureCreationError
[src]
impl Display for TextureCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
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 From<FormatNotSupportedError> for TextureCreationError
[src]
fn from(_: FormatNotSupportedError) -> TextureCreationError
[src]
Performs the conversion.