[][src]Struct ash::vk::ExtValidationCacheFn

pub struct ExtValidationCacheFn {
    pub create_validation_cache_ext: extern "system" fn(device: Device, p_create_info: *const ValidationCacheCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_validation_cache: *mut ValidationCacheEXT) -> Result,
    pub destroy_validation_cache_ext: extern "system" fn(device: Device, validation_cache: ValidationCacheEXT, p_allocator: *const AllocationCallbacks) -> c_void,
    pub merge_validation_caches_ext: extern "system" fn(device: Device, dst_cache: ValidationCacheEXT, src_cache_count: u32, p_src_caches: *const ValidationCacheEXT) -> Result,
    pub get_validation_cache_data_ext: extern "system" fn(device: Device, validation_cache: ValidationCacheEXT, p_data_size: *mut usize, p_data: *mut c_void) -> Result,
}

Fields

create_validation_cache_ext: extern "system" fn(device: Device, p_create_info: *const ValidationCacheCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_validation_cache: *mut ValidationCacheEXT) -> Resultdestroy_validation_cache_ext: extern "system" fn(device: Device, validation_cache: ValidationCacheEXT, p_allocator: *const AllocationCallbacks) -> c_voidmerge_validation_caches_ext: extern "system" fn(device: Device, dst_cache: ValidationCacheEXT, src_cache_count: u32, p_src_caches: *const ValidationCacheEXT) -> Resultget_validation_cache_data_ext: extern "system" fn(device: Device, validation_cache: ValidationCacheEXT, p_data_size: *mut usize, p_data: *mut c_void) -> Result

Methods

impl ExtValidationCacheFn[src]

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

impl ExtValidationCacheFn[src]

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

pub unsafe fn create_validation_cache_ext(
    &self,
    device: Device,
    p_create_info: *const ValidationCacheCreateInfoEXT,
    p_allocator: *const AllocationCallbacks,
    p_validation_cache: *mut ValidationCacheEXT
) -> Result
[src]

pub unsafe fn destroy_validation_cache_ext(
    &self,
    device: Device,
    validation_cache: ValidationCacheEXT,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

pub unsafe fn merge_validation_caches_ext(
    &self,
    device: Device,
    dst_cache: ValidationCacheEXT,
    src_cache_count: u32,
    p_src_caches: *const ValidationCacheEXT
) -> Result
[src]

pub unsafe fn get_validation_cache_data_ext(
    &self,
    device: Device,
    validation_cache: ValidationCacheEXT,
    p_data_size: *mut usize,
    p_data: *mut c_void
) -> Result
[src]

Trait Implementations

impl Clone for ExtValidationCacheFn[src]

impl Send for ExtValidationCacheFn[src]

impl Sync for ExtValidationCacheFn[src]

Auto Trait Implementations

impl RefUnwindSafe for ExtValidationCacheFn

impl Unpin for ExtValidationCacheFn

impl UnwindSafe for ExtValidationCacheFn

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.