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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)