Struct ash::vk::SamplerReductionModeCreateInfo
source · #[repr(C)]pub struct SamplerReductionModeCreateInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub reduction_mode: SamplerReductionMode,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§reduction_mode: SamplerReductionMode
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SamplerReductionModeCreateInfo<'a>
impl<'a> SamplerReductionModeCreateInfo<'a>
pub fn reduction_mode(self, reduction_mode: SamplerReductionMode) -> Self
Trait Implementations§
source§impl<'a> Clone for SamplerReductionModeCreateInfo<'a>
impl<'a> Clone for SamplerReductionModeCreateInfo<'a>
source§fn clone(&self) -> SamplerReductionModeCreateInfo<'a>
fn clone(&self) -> SamplerReductionModeCreateInfo<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for SamplerReductionModeCreateInfo<'a>
impl<'a> Debug for SamplerReductionModeCreateInfo<'a>
source§impl Default for SamplerReductionModeCreateInfo<'_>
impl Default for SamplerReductionModeCreateInfo<'_>
source§impl<'a> TaggedStructure for SamplerReductionModeCreateInfo<'a>
impl<'a> TaggedStructure for SamplerReductionModeCreateInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SAMPLER_REDUCTION_MODE_CREATE_INFO
impl<'a> Copy for SamplerReductionModeCreateInfo<'a>
impl ExtendsSamplerCreateInfo for SamplerReductionModeCreateInfo<'_>
impl Send for SamplerReductionModeCreateInfo<'_>
impl Sync for SamplerReductionModeCreateInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for SamplerReductionModeCreateInfo<'a>
impl<'a> RefUnwindSafe for SamplerReductionModeCreateInfo<'a>
impl<'a> Unpin for SamplerReductionModeCreateInfo<'a>
impl<'a> UnwindSafe for SamplerReductionModeCreateInfo<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)