#[repr(C)]pub struct PipelineFragmentShadingRateEnumStateCreateInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub shading_rate_type: FragmentShadingRateTypeNV,
pub shading_rate: FragmentShadingRateNV,
pub combiner_ops: [FragmentShadingRateCombinerOpKHR; 2],
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§shading_rate_type: FragmentShadingRateTypeNV
§shading_rate: FragmentShadingRateNV
§combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
impl<'a> PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
pub fn shading_rate_type( self, shading_rate_type: FragmentShadingRateTypeNV, ) -> Self
pub fn shading_rate(self, shading_rate: FragmentShadingRateNV) -> Self
pub fn combiner_ops( self, combiner_ops: [FragmentShadingRateCombinerOpKHR; 2], ) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
impl<'a> Clone for PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
source§fn clone(&self) -> PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
fn clone(&self) -> PipelineFragmentShadingRateEnumStateCreateInfoNV<'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 PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
impl<'a> Debug for PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
source§impl<'a> TaggedStructure for PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
impl<'a> TaggedStructure for PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV
impl<'a> Copy for PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
impl ExtendsGraphicsPipelineCreateInfo for PipelineFragmentShadingRateEnumStateCreateInfoNV<'_>
impl Send for PipelineFragmentShadingRateEnumStateCreateInfoNV<'_>
impl Sync for PipelineFragmentShadingRateEnumStateCreateInfoNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
impl<'a> RefUnwindSafe for PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
impl<'a> Unpin for PipelineFragmentShadingRateEnumStateCreateInfoNV<'a>
impl<'a> UnwindSafe for PipelineFragmentShadingRateEnumStateCreateInfoNV<'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
)