#[repr(C)]pub struct CUlaunchAttributeValue_union__bindgen_ty_2 {
pub event: CUevent,
pub flags: c_int,
pub triggerAtBlockStart: c_int,
}
Expand description
Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT with the following fields: - \p CUevent event - Event to fire when all blocks trigger it. - \p Event record flags, see ::cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL. - \p triggerAtBlockStart - If this is set to non-0, each block launch will automatically trigger the event.
Fields§
§event: CUevent
§flags: c_int
§triggerAtBlockStart: c_int
Trait Implementations§
Source§impl Clone for CUlaunchAttributeValue_union__bindgen_ty_2
impl Clone for CUlaunchAttributeValue_union__bindgen_ty_2
Source§fn clone(&self) -> CUlaunchAttributeValue_union__bindgen_ty_2
fn clone(&self) -> CUlaunchAttributeValue_union__bindgen_ty_2
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 CUlaunchAttributeValue_union__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for CUlaunchAttributeValue_union__bindgen_ty_2
impl RefUnwindSafe for CUlaunchAttributeValue_union__bindgen_ty_2
impl !Send for CUlaunchAttributeValue_union__bindgen_ty_2
impl !Sync for CUlaunchAttributeValue_union__bindgen_ty_2
impl Unpin for CUlaunchAttributeValue_union__bindgen_ty_2
impl UnwindSafe for CUlaunchAttributeValue_union__bindgen_ty_2
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