Struct vulkanalia::vk::CuLaunchInfoNVXBuilder
source · #[repr(transparent)]pub struct CuLaunchInfoNVXBuilder<'b> { /* private fields */ }
Expand description
A builder for a CuLaunchInfoNVX
.
Implementations§
source§impl<'b> CuLaunchInfoNVXBuilder<'b>
impl<'b> CuLaunchInfoNVXBuilder<'b>
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: &'b [u8]) -> Self
pub fn extras(self, extras: &'b [u8]) -> Self
pub fn build(self) -> CuLaunchInfoNVX
Trait Implementations§
source§impl<'b> Cast for CuLaunchInfoNVXBuilder<'b>
impl<'b> Cast for CuLaunchInfoNVXBuilder<'b>
§type Target = CuLaunchInfoNVX
type Target = CuLaunchInfoNVX
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for CuLaunchInfoNVXBuilder<'b>
impl<'b> Clone for CuLaunchInfoNVXBuilder<'b>
source§fn clone(&self) -> CuLaunchInfoNVXBuilder<'b>
fn clone(&self) -> CuLaunchInfoNVXBuilder<'b>
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<'b> Debug for CuLaunchInfoNVXBuilder<'b>
impl<'b> Debug for CuLaunchInfoNVXBuilder<'b>
source§impl<'b> Default for CuLaunchInfoNVXBuilder<'b>
impl<'b> Default for CuLaunchInfoNVXBuilder<'b>
source§fn default() -> CuLaunchInfoNVXBuilder<'b>
fn default() -> CuLaunchInfoNVXBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for CuLaunchInfoNVXBuilder<'b>
impl<'b> Deref for CuLaunchInfoNVXBuilder<'b>
source§impl<'b> DerefMut for CuLaunchInfoNVXBuilder<'b>
impl<'b> DerefMut for CuLaunchInfoNVXBuilder<'b>
impl<'b> Copy for CuLaunchInfoNVXBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for CuLaunchInfoNVXBuilder<'b>
impl<'b> !Send for CuLaunchInfoNVXBuilder<'b>
impl<'b> !Sync for CuLaunchInfoNVXBuilder<'b>
impl<'b> Unpin for CuLaunchInfoNVXBuilder<'b>
impl<'b> UnwindSafe for CuLaunchInfoNVXBuilder<'b>
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