[][src]Struct ash::vk::KhrExternalMemoryWin32Fn

pub struct KhrExternalMemoryWin32Fn {
    pub get_memory_win32_handle_khr: extern "system" fn(device: Device, p_get_win32_handle_info: *const MemoryGetWin32HandleInfoKHR, p_handle: *mut HANDLE) -> Result,
    pub get_memory_win32_handle_properties_khr: extern "system" fn(device: Device, handle_type: ExternalMemoryHandleTypeFlags, handle: HANDLE, p_memory_win32_handle_properties: *mut MemoryWin32HandlePropertiesKHR) -> Result,
}

Fields

get_memory_win32_handle_khr: extern "system" fn(device: Device, p_get_win32_handle_info: *const MemoryGetWin32HandleInfoKHR, p_handle: *mut HANDLE) -> Resultget_memory_win32_handle_properties_khr: extern "system" fn(device: Device, handle_type: ExternalMemoryHandleTypeFlags, handle: HANDLE, p_memory_win32_handle_properties: *mut MemoryWin32HandlePropertiesKHR) -> Result

Methods

impl KhrExternalMemoryWin32Fn[src]

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

impl KhrExternalMemoryWin32Fn[src]

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

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

pub unsafe fn get_memory_win32_handle_properties_khr(
    &self,
    device: Device,
    handle_type: ExternalMemoryHandleTypeFlags,
    handle: HANDLE,
    p_memory_win32_handle_properties: *mut MemoryWin32HandlePropertiesKHR
) -> Result
[src]

Trait Implementations

impl Clone for KhrExternalMemoryWin32Fn[src]

impl Send for KhrExternalMemoryWin32Fn[src]

impl Sync for KhrExternalMemoryWin32Fn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrExternalMemoryWin32Fn

impl Unpin for KhrExternalMemoryWin32Fn

impl UnwindSafe for KhrExternalMemoryWin32Fn

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.