Struct ash::extensions::khr::ExternalSemaphoreWin32
source · pub struct ExternalSemaphoreWin32 { /* private fields */ }
Expand description
Implementations§
source§impl ExternalSemaphoreWin32
impl ExternalSemaphoreWin32
pub fn new(instance: &Instance, device: &Device) -> Self
sourcepub unsafe fn import_semaphore_win32_handle(
&self,
import_info: &ImportSemaphoreWin32HandleInfoKHR
) -> VkResult<()>
pub unsafe fn import_semaphore_win32_handle( &self, import_info: &ImportSemaphoreWin32HandleInfoKHR ) -> VkResult<()>
sourcepub unsafe fn get_semaphore_win32_handle(
&self,
get_info: &SemaphoreGetWin32HandleInfoKHR
) -> VkResult<HANDLE>
pub unsafe fn get_semaphore_win32_handle( &self, get_info: &SemaphoreGetWin32HandleInfoKHR ) -> VkResult<HANDLE>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrExternalSemaphoreWin32Fn
pub fn device(&self) -> Device
Trait Implementations§
source§impl Clone for ExternalSemaphoreWin32
impl Clone for ExternalSemaphoreWin32
source§fn clone(&self) -> ExternalSemaphoreWin32
fn clone(&self) -> ExternalSemaphoreWin32
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ExternalSemaphoreWin32
impl RefUnwindSafe for ExternalSemaphoreWin32
impl Send for ExternalSemaphoreWin32
impl Sync for ExternalSemaphoreWin32
impl Unpin for ExternalSemaphoreWin32
impl UnwindSafe for ExternalSemaphoreWin32
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