pub struct VulkanKhrPresentWait2 { /* private fields */ }Expand description
struct for VK_KHR_present_wait2
Implementations§
Source§impl VulkanKhrPresentWait2
impl VulkanKhrPresentWait2
pub fn new( instance: VkInstance, get_instance_proc_address: impl FnMut(VkInstance, &'static str) -> *const c_void, ) -> Self
Trait Implementations§
Source§impl Clone for VulkanKhrPresentWait2
impl Clone for VulkanKhrPresentWait2
Source§fn clone(&self) -> VulkanKhrPresentWait2
fn clone(&self) -> VulkanKhrPresentWait2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VulkanKhrPresentWait2
Source§impl Debug for VulkanKhrPresentWait2
impl Debug for VulkanKhrPresentWait2
Source§impl Default for VulkanKhrPresentWait2
impl Default for VulkanKhrPresentWait2
Source§impl VK_KHR_present_wait2 for VulkanKhrPresentWait2
impl VK_KHR_present_wait2 for VulkanKhrPresentWait2
Source§fn vkWaitForPresent2KHR(
&self,
device: VkDevice,
swapchain: VkSwapchainKHR,
pPresentWait2Info: *const VkPresentWait2InfoKHR,
) -> Result<(), VkError>
fn vkWaitForPresent2KHR( &self, device: VkDevice, swapchain: VkSwapchainKHR, pPresentWait2Info: *const VkPresentWait2InfoKHR, ) -> Result<(), VkError>
Auto Trait Implementations§
impl Freeze for VulkanKhrPresentWait2
impl RefUnwindSafe for VulkanKhrPresentWait2
impl Send for VulkanKhrPresentWait2
impl Sync for VulkanKhrPresentWait2
impl Unpin for VulkanKhrPresentWait2
impl UnsafeUnpin for VulkanKhrPresentWait2
impl UnwindSafe for VulkanKhrPresentWait2
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