#[repr(C)]pub struct PhysicalDeviceShadingRateImageFeaturesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shading_rate_image: Bool32,
pub shading_rate_coarse_sample_order: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§shading_rate_image: Bool32
§shading_rate_coarse_sample_order: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceShadingRateImageFeaturesNV<'a>
impl<'a> PhysicalDeviceShadingRateImageFeaturesNV<'a>
pub fn shading_rate_image(self, shading_rate_image: bool) -> Self
pub fn shading_rate_coarse_sample_order( self, shading_rate_coarse_sample_order: bool, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceShadingRateImageFeaturesNV<'a>
impl<'a> Clone for PhysicalDeviceShadingRateImageFeaturesNV<'a>
source§fn clone(&self) -> PhysicalDeviceShadingRateImageFeaturesNV<'a>
fn clone(&self) -> PhysicalDeviceShadingRateImageFeaturesNV<'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 PhysicalDeviceShadingRateImageFeaturesNV<'a>
impl<'a> Debug for PhysicalDeviceShadingRateImageFeaturesNV<'a>
source§impl Default for PhysicalDeviceShadingRateImageFeaturesNV<'_>
impl Default for PhysicalDeviceShadingRateImageFeaturesNV<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceShadingRateImageFeaturesNV<'a>
impl<'a> TaggedStructure for PhysicalDeviceShadingRateImageFeaturesNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV
impl<'a> Copy for PhysicalDeviceShadingRateImageFeaturesNV<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceShadingRateImageFeaturesNV<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShadingRateImageFeaturesNV<'_>
impl Send for PhysicalDeviceShadingRateImageFeaturesNV<'_>
impl Sync for PhysicalDeviceShadingRateImageFeaturesNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceShadingRateImageFeaturesNV<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceShadingRateImageFeaturesNV<'a>
impl<'a> Unpin for PhysicalDeviceShadingRateImageFeaturesNV<'a>
impl<'a> UnwindSafe for PhysicalDeviceShadingRateImageFeaturesNV<'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
)