pub struct VulkanKhrPresentWait { /* private fields */ }Expand description
struct for VK_KHR_present_wait
Implementations§
Source§impl VulkanKhrPresentWait
impl VulkanKhrPresentWait
pub fn new( instance: VkInstance, get_instance_proc_address: impl FnMut(VkInstance, &'static str) -> *const c_void, ) -> Self
Trait Implementations§
Source§impl Clone for VulkanKhrPresentWait
impl Clone for VulkanKhrPresentWait
Source§fn clone(&self) -> VulkanKhrPresentWait
fn clone(&self) -> VulkanKhrPresentWait
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 VulkanKhrPresentWait
Source§impl Debug for VulkanKhrPresentWait
impl Debug for VulkanKhrPresentWait
Source§impl Default for VulkanKhrPresentWait
impl Default for VulkanKhrPresentWait
Source§impl VK_KHR_present_wait for VulkanKhrPresentWait
impl VK_KHR_present_wait for VulkanKhrPresentWait
Source§fn vkWaitForPresentKHR(
&self,
device: VkDevice,
swapchain: VkSwapchainKHR,
presentId: u64,
timeout: u64,
) -> Result<(), VkError>
fn vkWaitForPresentKHR( &self, device: VkDevice, swapchain: VkSwapchainKHR, presentId: u64, timeout: u64, ) -> Result<(), VkError>
Auto Trait Implementations§
impl Freeze for VulkanKhrPresentWait
impl RefUnwindSafe for VulkanKhrPresentWait
impl Send for VulkanKhrPresentWait
impl Sync for VulkanKhrPresentWait
impl Unpin for VulkanKhrPresentWait
impl UnsafeUnpin for VulkanKhrPresentWait
impl UnwindSafe for VulkanKhrPresentWait
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