Enum components::TextureError[][src]

#[non_exhaustive]
pub enum TextureError {
    OutOfMemory,
    NoYuv,
    BadFormat,
    // some variants omitted
}

Error enumeration for Texture

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.
OutOfMemory

OOM condition

NoYuv

YUV operation attempted but no YUV support found

BadFormat

The requested format for clutter_texture_set_from_rgb_data or clutter_texture_set_from_yuv_data is unsupported.

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<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,