#[repr(C)]pub struct CuLaunchAttribute {
pub id: CuLaunchAttributeId,
pub pad: [u8; 4],
pub value: CuLaunchAttributeValue,
}Expand description
A single extended kernel launch attribute (id + value pair).
Used in the attrs array of CuLaunchConfig.
Fields§
§id: CuLaunchAttributeIdWhich feature this attribute configures.
pad: [u8; 4]Alignment padding (must be zero).
value: CuLaunchAttributeValueThe attribute value — interpret according to id.
Trait Implementations§
Source§impl Clone for CuLaunchAttribute
impl Clone for CuLaunchAttribute
Source§fn clone(&self) -> CuLaunchAttribute
fn clone(&self) -> CuLaunchAttribute
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 moreimpl Copy for CuLaunchAttribute
Auto Trait Implementations§
impl Freeze for CuLaunchAttribute
impl RefUnwindSafe for CuLaunchAttribute
impl Send for CuLaunchAttribute
impl Sync for CuLaunchAttribute
impl Unpin for CuLaunchAttribute
impl UnsafeUnpin for CuLaunchAttribute
impl UnwindSafe for CuLaunchAttribute
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