Struct ash::vk::NvxBinaryImportFn
source · [−]pub struct NvxBinaryImportFn {
pub create_cu_module_nvx: PFN_vkCreateCuModuleNVX,
pub create_cu_function_nvx: PFN_vkCreateCuFunctionNVX,
pub destroy_cu_module_nvx: PFN_vkDestroyCuModuleNVX,
pub destroy_cu_function_nvx: PFN_vkDestroyCuFunctionNVX,
pub cmd_cu_launch_kernel_nvx: PFN_vkCmdCuLaunchKernelNVX,
}
Fields
create_cu_module_nvx: PFN_vkCreateCuModuleNVX
create_cu_function_nvx: PFN_vkCreateCuFunctionNVX
destroy_cu_module_nvx: PFN_vkDestroyCuModuleNVX
destroy_cu_function_nvx: PFN_vkDestroyCuFunctionNVX
cmd_cu_launch_kernel_nvx: PFN_vkCmdCuLaunchKernelNVX
Implementations
sourceimpl NvxBinaryImportFn
impl NvxBinaryImportFn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn create_cu_module_nvx(
&self,
device: Device,
p_create_info: *const CuModuleCreateInfoNVX,
p_allocator: *const AllocationCallbacks,
p_module: *mut CuModuleNVX
) -> Result
pub unsafe fn create_cu_module_nvx(
&self,
device: Device,
p_create_info: *const CuModuleCreateInfoNVX,
p_allocator: *const AllocationCallbacks,
p_module: *mut CuModuleNVX
) -> Result
sourcepub unsafe fn create_cu_function_nvx(
&self,
device: Device,
p_create_info: *const CuFunctionCreateInfoNVX,
p_allocator: *const AllocationCallbacks,
p_function: *mut CuFunctionNVX
) -> Result
pub unsafe fn create_cu_function_nvx(
&self,
device: Device,
p_create_info: *const CuFunctionCreateInfoNVX,
p_allocator: *const AllocationCallbacks,
p_function: *mut CuFunctionNVX
) -> Result
sourcepub unsafe fn destroy_cu_module_nvx(
&self,
device: Device,
module: CuModuleNVX,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_cu_module_nvx(
&self,
device: Device,
module: CuModuleNVX,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn destroy_cu_function_nvx(
&self,
device: Device,
function: CuFunctionNVX,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_cu_function_nvx(
&self,
device: Device,
function: CuFunctionNVX,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn cmd_cu_launch_kernel_nvx(
&self,
command_buffer: CommandBuffer,
p_launch_info: *const CuLaunchInfoNVX
)
pub unsafe fn cmd_cu_launch_kernel_nvx(
&self,
command_buffer: CommandBuffer,
p_launch_info: *const CuLaunchInfoNVX
)
Trait Implementations
sourceimpl Clone for NvxBinaryImportFn
impl Clone for NvxBinaryImportFn
sourcefn clone(&self) -> NvxBinaryImportFn
fn clone(&self) -> NvxBinaryImportFn
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 NvxBinaryImportFn
impl Sync for NvxBinaryImportFn
Auto Trait Implementations
impl RefUnwindSafe for NvxBinaryImportFn
impl Unpin for NvxBinaryImportFn
impl UnwindSafe for NvxBinaryImportFn
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