[][src]Struct ash::vk::KhrExternalSemaphoreWin32Fn

pub struct KhrExternalSemaphoreWin32Fn {
    pub import_semaphore_win32_handle_khr: extern "system" fn(device: Device, p_import_semaphore_win32_handle_info: *const ImportSemaphoreWin32HandleInfoKHR) -> Result,
    pub get_semaphore_win32_handle_khr: extern "system" fn(device: Device, p_get_win32_handle_info: *const SemaphoreGetWin32HandleInfoKHR, p_handle: *mut HANDLE) -> Result,
}

Fields

import_semaphore_win32_handle_khr: extern "system" fn(device: Device, p_import_semaphore_win32_handle_info: *const ImportSemaphoreWin32HandleInfoKHR) -> Resultget_semaphore_win32_handle_khr: extern "system" fn(device: Device, p_get_win32_handle_info: *const SemaphoreGetWin32HandleInfoKHR, p_handle: *mut HANDLE) -> Result

Methods

impl KhrExternalSemaphoreWin32Fn[src]

pub fn name() -> &'static CStr[src]

impl KhrExternalSemaphoreWin32Fn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn import_semaphore_win32_handle_khr(
    &self,
    device: Device,
    p_import_semaphore_win32_handle_info: *const ImportSemaphoreWin32HandleInfoKHR
) -> Result
[src]

pub unsafe fn get_semaphore_win32_handle_khr(
    &self,
    device: Device,
    p_get_win32_handle_info: *const SemaphoreGetWin32HandleInfoKHR,
    p_handle: *mut HANDLE
) -> Result
[src]

Trait Implementations

impl Sync for KhrExternalSemaphoreWin32Fn[src]

impl Clone for KhrExternalSemaphoreWin32Fn[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Send for KhrExternalSemaphoreWin32Fn[src]

Auto Trait Implementations

impl Unpin for KhrExternalSemaphoreWin32Fn

impl UnwindSafe for KhrExternalSemaphoreWin32Fn

impl RefUnwindSafe for KhrExternalSemaphoreWin32Fn

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]