Struct ash::vk::ExtValidationCacheFn
source · [−]pub struct ExtValidationCacheFn {
pub create_validation_cache_ext: PFN_vkCreateValidationCacheEXT,
pub destroy_validation_cache_ext: PFN_vkDestroyValidationCacheEXT,
pub merge_validation_caches_ext: PFN_vkMergeValidationCachesEXT,
pub get_validation_cache_data_ext: PFN_vkGetValidationCacheDataEXT,
}
Fields
create_validation_cache_ext: PFN_vkCreateValidationCacheEXT
destroy_validation_cache_ext: PFN_vkDestroyValidationCacheEXT
merge_validation_caches_ext: PFN_vkMergeValidationCachesEXT
get_validation_cache_data_ext: PFN_vkGetValidationCacheDataEXT
Implementations
sourceimpl ExtValidationCacheFn
impl ExtValidationCacheFn
pub fn load<F>(_f: F) -> Self 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
sourcefn clone(&self) -> ExtValidationCacheFn
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
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