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