Enum cogl::TextureError[][src]

#[non_exhaustive]
pub enum TextureError {
    Size,
    Format,
    BadParameter,
    Type,
    // some variants omitted
}

Error codes that can be thrown when allocating textures.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Size

Unsupported size

Format

Unsupported format

BadParameter
Type

A primitive texture type that is unsupported by the driver was used

Trait Implementations

impl Clone for TextureError[src]

impl Copy for TextureError[src]

impl Debug for TextureError[src]

impl Display for TextureError[src]

impl Eq for TextureError[src]

impl ErrorDomain for TextureError[src]

impl<'a> FromValue<'a> for TextureError[src]

impl<'a> FromValueOptional<'a> for TextureError[src]

impl Hash for TextureError[src]

impl Ord for TextureError[src]

impl PartialEq<TextureError> for TextureError[src]

impl PartialOrd<TextureError> for TextureError[src]

impl SetValue for TextureError[src]

impl StaticType for TextureError[src]

impl StructuralEq for TextureError[src]

impl StructuralPartialEq for TextureError[src]

Auto Trait Implementations

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> 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> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized
[src]

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

impl<T> ToValue for T where
    T: SetValue + ?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.