pub struct LaunchParams {
pub config: KernelConfig,
pub stream: Option<u64>,
}
Expand description
Kernel launch parameters
Fields§
§config: KernelConfig
§stream: Option<u64>
Implementations§
Source§impl LaunchParams
impl LaunchParams
pub fn new(config: KernelConfig) -> Self
pub fn with_stream(self, stream: u64) -> Self
Trait Implementations§
Source§impl Clone for LaunchParams
impl Clone for LaunchParams
Source§fn clone(&self) -> LaunchParams
fn clone(&self) -> LaunchParams
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LaunchParams
impl RefUnwindSafe for LaunchParams
impl Send for LaunchParams
impl Sync for LaunchParams
impl Unpin for LaunchParams
impl UnwindSafe for LaunchParams
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