Struct ash::vk::PhysicalDeviceFragmentShadingRateKHR
source · #[repr(C)]pub struct PhysicalDeviceFragmentShadingRateKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub sample_counts: SampleCountFlags,
pub fragment_size: Extent2D,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§sample_counts: SampleCountFlags
§fragment_size: Extent2D
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceFragmentShadingRateKHR<'a>
impl<'a> PhysicalDeviceFragmentShadingRateKHR<'a>
pub fn sample_counts(self, sample_counts: SampleCountFlags) -> Self
pub fn fragment_size(self, fragment_size: Extent2D) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceFragmentShadingRateKHR<'a>
impl<'a> Clone for PhysicalDeviceFragmentShadingRateKHR<'a>
source§fn clone(&self) -> PhysicalDeviceFragmentShadingRateKHR<'a>
fn clone(&self) -> PhysicalDeviceFragmentShadingRateKHR<'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 PhysicalDeviceFragmentShadingRateKHR<'a>
impl<'a> Debug for PhysicalDeviceFragmentShadingRateKHR<'a>
source§impl Default for PhysicalDeviceFragmentShadingRateKHR<'_>
impl Default for PhysicalDeviceFragmentShadingRateKHR<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceFragmentShadingRateKHR<'a>
impl<'a> TaggedStructure for PhysicalDeviceFragmentShadingRateKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR
impl<'a> Copy for PhysicalDeviceFragmentShadingRateKHR<'a>
impl Send for PhysicalDeviceFragmentShadingRateKHR<'_>
impl Sync for PhysicalDeviceFragmentShadingRateKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceFragmentShadingRateKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceFragmentShadingRateKHR<'a>
impl<'a> Unpin for PhysicalDeviceFragmentShadingRateKHR<'a>
impl<'a> UnwindSafe for PhysicalDeviceFragmentShadingRateKHR<'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