pub struct ExtValidationCacheFn {
pub create_validation_cache_ext: unsafe extern "system" fn(Device, *const ValidationCacheCreateInfoEXT, *const AllocationCallbacks, *mut ValidationCacheEXT) -> Result,
pub destroy_validation_cache_ext: unsafe extern "system" fn(Device, ValidationCacheEXT, *const AllocationCallbacks),
pub merge_validation_caches_ext: unsafe extern "system" fn(Device, ValidationCacheEXT, u32, *const ValidationCacheEXT) -> Result,
pub get_validation_cache_data_ext: unsafe extern "system" fn(Device, ValidationCacheEXT, *mut usize, *mut c_void) -> Result,
}Fields
create_validation_cache_ext: unsafe extern "system" fn(Device, *const ValidationCacheCreateInfoEXT, *const AllocationCallbacks, *mut ValidationCacheEXT) -> Resultdestroy_validation_cache_ext: unsafe extern "system" fn(Device, ValidationCacheEXT, *const AllocationCallbacks)merge_validation_caches_ext: unsafe extern "system" fn(Device, ValidationCacheEXT, u32, *const ValidationCacheEXT) -> Resultget_validation_cache_data_ext: unsafe extern "system" fn(Device, ValidationCacheEXT, *mut usize, *mut c_void) -> ResultImplementations
sourceimpl ExtValidationCacheFn
impl ExtValidationCacheFn
pub fn load<F>(_f: F) -> ExtValidationCacheFn where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn create_validation_cache_ext(
&self,
device: Device,
p_create_info: *const ValidationCacheCreateInfoEXT,
p_allocator: *const AllocationCallbacks,
p_validation_cache: *mut ValidationCacheEXT
) -> Result
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
sourcepub unsafe fn destroy_validation_cache_ext(
&self,
device: Device,
validation_cache: ValidationCacheEXT,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_validation_cache_ext(
&self,
device: Device,
validation_cache: ValidationCacheEXT,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn merge_validation_caches_ext(
&self,
device: Device,
dst_cache: ValidationCacheEXT,
src_cache_count: u32,
p_src_caches: *const ValidationCacheEXT
) -> Result
pub unsafe fn merge_validation_caches_ext(
&self,
device: Device,
dst_cache: ValidationCacheEXT,
src_cache_count: u32,
p_src_caches: *const ValidationCacheEXT
) -> Result
sourcepub unsafe fn get_validation_cache_data_ext(
&self,
device: Device,
validation_cache: ValidationCacheEXT,
p_data_size: *mut usize,
p_data: *mut c_void
) -> Result
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
Trait Implementations
sourceimpl Clone for ExtValidationCacheFn
impl Clone for ExtValidationCacheFn
sourcepub fn clone(&self) -> ExtValidationCacheFn
pub fn clone(&self) -> ExtValidationCacheFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Send for ExtValidationCacheFn
impl Sync for ExtValidationCacheFn
Auto Trait Implementations
impl RefUnwindSafe for ExtValidationCacheFn
impl Unpin for ExtValidationCacheFn
impl UnwindSafe for ExtValidationCacheFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more