pub struct CudaLaunchInfoNVBuilder<'a> { /* private fields */ }Expand description
Builder for CudaLaunchInfoNV with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> CudaLaunchInfoNVBuilder<'a>
impl<'a> CudaLaunchInfoNVBuilder<'a>
pub fn function(self, value: CudaFunctionNV) -> Self
pub fn grid_dim_x(self, value: u32) -> Self
pub fn grid_dim_y(self, value: u32) -> Self
pub fn grid_dim_z(self, value: u32) -> Self
pub fn block_dim_x(self, value: u32) -> Self
pub fn block_dim_y(self, value: u32) -> Self
pub fn block_dim_z(self, value: u32) -> Self
pub fn param_count(self, value: usize) -> Self
pub fn params(self, value: *const *const c_void) -> Self
pub fn extra_count(self, value: usize) -> Self
pub fn extras(self, value: *const *const c_void) -> Self
Sourcepub fn push_next<T: ExtendsCudaLaunchInfoNV>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsCudaLaunchInfoNV>(self, next: &'a mut T) -> Self
Prepend a struct to the pNext chain. See CudaLaunchInfoNV’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for CudaLaunchInfoNVBuilder<'a>
impl<'a> Deref for CudaLaunchInfoNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for CudaLaunchInfoNVBuilder<'a>
impl<'a> RefUnwindSafe for CudaLaunchInfoNVBuilder<'a>
impl<'a> !Send for CudaLaunchInfoNVBuilder<'a>
impl<'a> !Sync for CudaLaunchInfoNVBuilder<'a>
impl<'a> Unpin for CudaLaunchInfoNVBuilder<'a>
impl<'a> UnsafeUnpin for CudaLaunchInfoNVBuilder<'a>
impl<'a> UnwindSafe for CudaLaunchInfoNVBuilder<'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