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 Clone for TextureCreationError
[src]
impl Clone for TextureCreationError
fn clone(&self) -> TextureCreationError
[src]
fn clone(&self) -> TextureCreationError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for TextureCreationError
[src]
impl Debug for TextureCreationError
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<FormatNotSupportedError> for TextureCreationError
[src]
impl From<FormatNotSupportedError> for TextureCreationError
fn from(FormatNotSupportedError) -> TextureCreationError
[src]
fn from(FormatNotSupportedError) -> TextureCreationError
Performs the conversion.
impl Error for TextureCreationError
[src]
impl Error for TextureCreationError
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 TextureCreationError
[src]
impl Display for TextureCreationError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for TextureCreationError
[src]
impl Copy for TextureCreationError
impl Eq for TextureCreationError
[src]
impl Eq for TextureCreationError
impl PartialEq<TextureCreationError> for TextureCreationError
[src]
impl PartialEq<TextureCreationError> for TextureCreationError
fn eq(&self, other: &TextureCreationError) -> bool
[src]
fn eq(&self, other: &TextureCreationError) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl From<TextureCreationError> for RendererCreationError
[src]
impl From<TextureCreationError> for RendererCreationError
fn from(err: TextureCreationError) -> RendererCreationError
[src]
fn from(err: TextureCreationError) -> RendererCreationError
Performs the conversion.
Auto Trait Implementations
impl Send for TextureCreationError
impl Send for TextureCreationError
impl Sync for TextureCreationError
impl Sync for TextureCreationError