Struct pilka_lib::ash::vk::ExtExternalMemoryHostFn[]

pub struct ExtExternalMemoryHostFn {
    pub get_memory_host_pointer_properties_ext: extern "system" fn(Device, ExternalMemoryHandleTypeFlags, *const c_void, *mut MemoryHostPointerPropertiesEXT) -> Result,
}

Fields

get_memory_host_pointer_properties_ext: extern "system" fn(Device, ExternalMemoryHandleTypeFlags, *const c_void, *mut MemoryHostPointerPropertiesEXT) -> Result

Implementations

impl ExtExternalMemoryHostFn

pub fn name() -> &'static CStr

impl ExtExternalMemoryHostFn

pub fn load<F>(_f: F) -> ExtExternalMemoryHostFn where
    F: FnMut(&CStr) -> *const c_void

pub unsafe fn get_memory_host_pointer_properties_ext(
    &self,
    device: Device,
    handle_type: ExternalMemoryHandleTypeFlags,
    p_host_pointer: *const c_void,
    p_memory_host_pointer_properties: *mut MemoryHostPointerPropertiesEXT
) -> Result

Trait Implementations

impl Clone for ExtExternalMemoryHostFn

impl Send for ExtExternalMemoryHostFn

impl Sync for ExtExternalMemoryHostFn

Auto Trait Implementations

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.