[][src]Struct ash::vk::KhrExternalMemoryFdFn

pub struct KhrExternalMemoryFdFn {
    pub get_memory_fd_khr: extern "system" fn(device: Device, p_get_fd_info: *const MemoryGetFdInfoKHR, p_fd: *mut c_int) -> Result,
    pub get_memory_fd_properties_khr: extern "system" fn(device: Device, handle_type: ExternalMemoryHandleTypeFlags, fd: c_int, p_memory_fd_properties: *mut MemoryFdPropertiesKHR) -> Result,
}

Fields

get_memory_fd_khr: extern "system" fn(device: Device, p_get_fd_info: *const MemoryGetFdInfoKHR, p_fd: *mut c_int) -> Resultget_memory_fd_properties_khr: extern "system" fn(device: Device, handle_type: ExternalMemoryHandleTypeFlags, fd: c_int, p_memory_fd_properties: *mut MemoryFdPropertiesKHR) -> Result

Methods

impl KhrExternalMemoryFdFn[src]

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

impl KhrExternalMemoryFdFn[src]

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

pub unsafe fn get_memory_fd_khr(
    &self,
    device: Device,
    p_get_fd_info: *const MemoryGetFdInfoKHR,
    p_fd: *mut c_int
) -> Result
[src]

pub unsafe fn get_memory_fd_properties_khr(
    &self,
    device: Device,
    handle_type: ExternalMemoryHandleTypeFlags,
    fd: c_int,
    p_memory_fd_properties: *mut MemoryFdPropertiesKHR
) -> Result
[src]

Trait Implementations

impl Clone for KhrExternalMemoryFdFn[src]

impl Send for KhrExternalMemoryFdFn[src]

impl Sync for KhrExternalMemoryFdFn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrExternalMemoryFdFn

impl Unpin for KhrExternalMemoryFdFn

impl UnwindSafe for KhrExternalMemoryFdFn

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.