#[repr(C)]pub struct PhysicalDevicePresentMeteringFeaturesNV {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub present_metering: u32,
}Expand description
VkPhysicalDevicePresentMeteringFeaturesNV
Provided by VK_NV_present_metering.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV.
p_next: *mut c_voidOptional, may be null.
present_metering: u32Implementations§
Source§impl PhysicalDevicePresentMeteringFeaturesNV
impl PhysicalDevicePresentMeteringFeaturesNV
Sourcepub fn builder<'a>() -> PhysicalDevicePresentMeteringFeaturesNVBuilder<'a>
pub fn builder<'a>() -> PhysicalDevicePresentMeteringFeaturesNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDevicePresentMeteringFeaturesNV
impl Clone for PhysicalDevicePresentMeteringFeaturesNV
Source§fn clone(&self) -> PhysicalDevicePresentMeteringFeaturesNV
fn clone(&self) -> PhysicalDevicePresentMeteringFeaturesNV
Returns a duplicate 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 moreimpl Copy for PhysicalDevicePresentMeteringFeaturesNV
impl ExtendsDeviceCreateInfo for PhysicalDevicePresentMeteringFeaturesNV
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDevicePresentMeteringFeaturesNV
Auto Trait Implementations§
impl Freeze for PhysicalDevicePresentMeteringFeaturesNV
impl RefUnwindSafe for PhysicalDevicePresentMeteringFeaturesNV
impl !Send for PhysicalDevicePresentMeteringFeaturesNV
impl !Sync for PhysicalDevicePresentMeteringFeaturesNV
impl Unpin for PhysicalDevicePresentMeteringFeaturesNV
impl UnsafeUnpin for PhysicalDevicePresentMeteringFeaturesNV
impl UnwindSafe for PhysicalDevicePresentMeteringFeaturesNV
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