[][src]Enum web_glitz::image::IncompatibleSampler

pub enum IncompatibleSampler {
    InvalidMagnificationFilter(InvalidMagnificationFilter),
    InvalidMinificationFilter(InvalidMinificationFilter),
}

Error returned when trying to combine a texture with a sampler that is incompatible.

Variants

InvalidMagnificationFilter(InvalidMagnificationFilter)

Variant returned if the sampler's magnification filter cannot be used with the texture's [TextureFormat].

InvalidMinificationFilter(InvalidMinificationFilter)

Variant returned if the sampler's minification filter cannot be used with the texture's [TextureFormat].

Trait Implementations

impl Clone for IncompatibleSampler[src]

impl PartialEq<IncompatibleSampler> for IncompatibleSampler[src]

impl From<InvalidMagnificationFilter> for IncompatibleSampler[src]

impl From<InvalidMinificationFilter> for IncompatibleSampler[src]

impl Copy for IncompatibleSampler[src]

impl Debug for IncompatibleSampler[src]

Auto Trait Implementations

Blanket Implementations

impl<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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