Struct ash::vk::CuLaunchInfoNVXBuilder
source · pub struct CuLaunchInfoNVXBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> CuLaunchInfoNVXBuilder<'a>
impl<'a> CuLaunchInfoNVXBuilder<'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
sourcepub fn build(self) -> CuLaunchInfoNVX
pub fn build(self) -> CuLaunchInfoNVX
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for CuLaunchInfoNVXBuilder<'a>
impl<'a> Deref for CuLaunchInfoNVXBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CuLaunchInfoNVXBuilder<'a>
impl<'a> !Send for CuLaunchInfoNVXBuilder<'a>
impl<'a> !Sync for CuLaunchInfoNVXBuilder<'a>
impl<'a> Unpin for CuLaunchInfoNVXBuilder<'a>
impl<'a> UnwindSafe for CuLaunchInfoNVXBuilder<'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