#[repr(C)]pub struct PhysicalDevicePresentWait2FeaturesKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub present_wait2: u32,
}Expand description
VkPhysicalDevicePresentWait2FeaturesKHR
Provided by VK_KHR_present_wait2.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_2_FEATURES_KHR.
p_next: *mut c_voidOptional, may be null.
present_wait2: u32Implementations§
Source§impl PhysicalDevicePresentWait2FeaturesKHR
impl PhysicalDevicePresentWait2FeaturesKHR
Sourcepub fn builder<'a>() -> PhysicalDevicePresentWait2FeaturesKHRBuilder<'a>
pub fn builder<'a>() -> PhysicalDevicePresentWait2FeaturesKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDevicePresentWait2FeaturesKHR
impl Clone for PhysicalDevicePresentWait2FeaturesKHR
Source§fn clone(&self) -> PhysicalDevicePresentWait2FeaturesKHR
fn clone(&self) -> PhysicalDevicePresentWait2FeaturesKHR
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 moreSource§impl Default for PhysicalDevicePresentWait2FeaturesKHR
impl Default for PhysicalDevicePresentWait2FeaturesKHR
Source§fn default() -> PhysicalDevicePresentWait2FeaturesKHR
fn default() -> PhysicalDevicePresentWait2FeaturesKHR
Returns the “default value” for a type. Read more
impl Copy for PhysicalDevicePresentWait2FeaturesKHR
impl ExtendsDeviceCreateInfo for PhysicalDevicePresentWait2FeaturesKHR
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDevicePresentWait2FeaturesKHR
Auto Trait Implementations§
impl Freeze for PhysicalDevicePresentWait2FeaturesKHR
impl RefUnwindSafe for PhysicalDevicePresentWait2FeaturesKHR
impl !Send for PhysicalDevicePresentWait2FeaturesKHR
impl !Sync for PhysicalDevicePresentWait2FeaturesKHR
impl Unpin for PhysicalDevicePresentWait2FeaturesKHR
impl UnsafeUnpin for PhysicalDevicePresentWait2FeaturesKHR
impl UnwindSafe for PhysicalDevicePresentWait2FeaturesKHR
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