Struct gfx_hal::SamplerReductionProperties
source · [−]pub struct SamplerReductionProperties {
pub single_component_formats: bool,
pub image_component_mapping: bool,
}
Expand description
Resource limits related to the reduction samplers.
Fields
single_component_formats: bool
Support for the minimum set of required formats support min/max filtering
image_component_mapping: bool
Support for the non-identity component mapping of the image when doing min/max filtering.
Trait Implementations
sourceimpl Clone for SamplerReductionProperties
impl Clone for SamplerReductionProperties
sourcefn clone(&self) -> SamplerReductionProperties
fn clone(&self) -> SamplerReductionProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SamplerReductionProperties
impl Debug for SamplerReductionProperties
sourceimpl Default for SamplerReductionProperties
impl Default for SamplerReductionProperties
sourcefn default() -> SamplerReductionProperties
fn default() -> SamplerReductionProperties
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SamplerReductionProperties> for SamplerReductionProperties
impl PartialEq<SamplerReductionProperties> for SamplerReductionProperties
sourcefn eq(&self, other: &SamplerReductionProperties) -> bool
fn eq(&self, other: &SamplerReductionProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SamplerReductionProperties) -> bool
fn ne(&self, other: &SamplerReductionProperties) -> bool
This method tests for !=
.
impl Copy for SamplerReductionProperties
impl StructuralPartialEq for SamplerReductionProperties
Auto Trait Implementations
impl RefUnwindSafe for SamplerReductionProperties
impl Send for SamplerReductionProperties
impl Sync for SamplerReductionProperties
impl Unpin for SamplerReductionProperties
impl UnwindSafe for SamplerReductionProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more