[][src]Enum glium::texture::TextureCreationError

[]
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 Copy for TextureCreationError[src]

impl Debug for TextureCreationError[src][+]

impl Display for TextureCreationError[src][+]

impl Eq for TextureCreationError[src]

impl Error for TextureCreationError[src][+]

impl PartialEq<TextureCreationError> for TextureCreationError[src][+]

impl StructuralEq for TextureCreationError[src]

impl StructuralPartialEq for TextureCreationError[src]

Auto Trait Implementations

impl RefUnwindSafe for TextureCreationError

impl Send for TextureCreationError

impl Sync for TextureCreationError

impl Unpin for TextureCreationError

impl UnwindSafe for TextureCreationError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> Content for T where
    T: Copy
[src][+]

type Owned = T

A type that holds a sized version of the content.

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.