Struct ash::vk::definitions::CuLaunchInfoNVX
source · #[repr(C)]pub struct CuLaunchInfoNVX<'a> {Show 15 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub function: CuFunctionNVX,
pub grid_dim_x: u32,
pub grid_dim_y: u32,
pub grid_dim_z: u32,
pub block_dim_x: u32,
pub block_dim_y: u32,
pub block_dim_z: u32,
pub shared_mem_bytes: u32,
pub param_count: usize,
pub p_params: *const *const c_void,
pub extra_count: usize,
pub p_extras: *const *const c_void,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§function: CuFunctionNVX
§grid_dim_x: u32
§grid_dim_y: u32
§grid_dim_z: u32
§block_dim_x: u32
§block_dim_y: u32
§block_dim_z: u32
§param_count: usize
§p_params: *const *const c_void
§extra_count: usize
§p_extras: *const *const c_void
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> CuLaunchInfoNVX<'a>
impl<'a> CuLaunchInfoNVX<'a>
pub fn function(self, function: CuFunctionNVX) -> Self
pub fn grid_dim_x(self, grid_dim_x: u32) -> Self
pub fn grid_dim_y(self, grid_dim_y: u32) -> Self
pub fn grid_dim_z(self, grid_dim_z: u32) -> Self
pub fn block_dim_x(self, block_dim_x: u32) -> Self
pub fn block_dim_y(self, block_dim_y: u32) -> Self
pub fn block_dim_z(self, block_dim_z: u32) -> Self
pub fn params(self, params: &'a [*const c_void]) -> Self
pub fn extras(self, extras: &'a [*const c_void]) -> Self
Trait Implementations§
source§impl<'a> Clone for CuLaunchInfoNVX<'a>
impl<'a> Clone for CuLaunchInfoNVX<'a>
source§fn clone(&self) -> CuLaunchInfoNVX<'a>
fn clone(&self) -> CuLaunchInfoNVX<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for CuLaunchInfoNVX<'a>
impl<'a> Debug for CuLaunchInfoNVX<'a>
source§impl Default for CuLaunchInfoNVX<'_>
impl Default for CuLaunchInfoNVX<'_>
source§impl<'a> TaggedStructure for CuLaunchInfoNVX<'a>
impl<'a> TaggedStructure for CuLaunchInfoNVX<'a>
const STRUCTURE_TYPE: StructureType = StructureType::CU_LAUNCH_INFO_NVX
impl<'a> Copy for CuLaunchInfoNVX<'a>
impl Send for CuLaunchInfoNVX<'_>
impl Sync for CuLaunchInfoNVX<'_>
Auto Trait Implementations§
impl<'a> Freeze for CuLaunchInfoNVX<'a>
impl<'a> RefUnwindSafe for CuLaunchInfoNVX<'a>
impl<'a> Unpin for CuLaunchInfoNVX<'a>
impl<'a> UnwindSafe for CuLaunchInfoNVX<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more