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
Only valid if Features::SAMPLER_FILTER_MINMAX
is enabled.
Only valid if Features::SAMPLER_FILTER_MINMAX
is enabled.
Trait Implementations
impl Clone for ReductionMode
[src]
impl Clone for ReductionMode
[src]fn clone(&self) -> ReductionMode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ReductionMode
[src]
impl Copy for ReductionMode
[src]impl Eq for ReductionMode
[src]
impl Eq for ReductionMode
[src]impl Hash for ReductionMode
[src]
impl Hash for ReductionMode
[src]impl Ord for ReductionMode
[src]
impl Ord for ReductionMode
[src]impl PartialEq<ReductionMode> for ReductionMode
[src]
impl PartialEq<ReductionMode> for ReductionMode
[src]impl PartialOrd<ReductionMode> for ReductionMode
[src]
impl PartialOrd<ReductionMode> for ReductionMode
[src]fn partial_cmp(&self, other: &ReductionMode) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for ReductionMode
[src]
impl StructuralEq for ReductionMode
[src]impl StructuralPartialEq for ReductionMode
[src]
impl StructuralPartialEq for ReductionMode
[src]Auto Trait Implementations
impl RefUnwindSafe for ReductionMode
impl RefUnwindSafe for ReductionMode
impl Send for ReductionMode
impl Send for ReductionMode
impl Sync for ReductionMode
impl Sync for ReductionMode
impl Unpin for ReductionMode
impl Unpin for ReductionMode
impl UnwindSafe for ReductionMode
impl UnwindSafe for ReductionMode