Enum gfx_hal::image::ReductionMode[][src]

pub enum ReductionMode {
    WeightedAverage,
    Minimum,
    Maximum,
}

Specifies how the image texels in the filter kernel are reduced to a single value.

Variants

WeightedAverage
Minimum

Only valid if Features::SAMPLER_FILTER_MINMAX is enabled.

Maximum

Only valid if Features::SAMPLER_FILTER_MINMAX is enabled.

Trait Implementations

impl Clone for ReductionMode[src]

impl Copy for ReductionMode[src]

impl Debug for ReductionMode[src]

impl Eq for ReductionMode[src]

impl Hash for ReductionMode[src]

impl Ord for ReductionMode[src]

impl PartialEq<ReductionMode> for ReductionMode[src]

impl PartialOrd<ReductionMode> for ReductionMode[src]

impl StructuralEq for ReductionMode[src]

impl StructuralPartialEq for ReductionMode[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, 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.