#[repr(transparent)]pub struct CUhostTaskSyncMode_enum(pub c_uint);Expand description
Host task synchronization mode
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUhostTaskSyncMode_enum
impl CUhostTaskSyncMode_enum
Sourcepub const CU_HOST_TASK_BLOCKING: CUhostTaskSyncMode_enum
pub const CU_HOST_TASK_BLOCKING: CUhostTaskSyncMode_enum
The execution thread will block until new host tasks are ready to run.
Sourcepub const CU_HOST_TASK_SPINWAIT: CUhostTaskSyncMode_enum
pub const CU_HOST_TASK_SPINWAIT: CUhostTaskSyncMode_enum
The execution thread will spin wait until new host tasks are ready to run.
Trait Implementations§
Source§impl Clone for CUhostTaskSyncMode_enum
impl Clone for CUhostTaskSyncMode_enum
impl Copy for CUhostTaskSyncMode_enum
Source§impl Debug for CUhostTaskSyncMode_enum
impl Debug for CUhostTaskSyncMode_enum
impl Eq for CUhostTaskSyncMode_enum
Source§impl Hash for CUhostTaskSyncMode_enum
impl Hash for CUhostTaskSyncMode_enum
Source§impl Ord for CUhostTaskSyncMode_enum
impl Ord for CUhostTaskSyncMode_enum
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CUhostTaskSyncMode_enum
impl PartialEq for CUhostTaskSyncMode_enum
Source§impl PartialOrd for CUhostTaskSyncMode_enum
impl PartialOrd for CUhostTaskSyncMode_enum
impl StructuralPartialEq for CUhostTaskSyncMode_enum
Auto Trait Implementations§
impl Forget for CUhostTaskSyncMode_enum
impl Freeze for CUhostTaskSyncMode_enum
impl Move for CUhostTaskSyncMode_enum
impl RefUnwindSafe for CUhostTaskSyncMode_enum
impl Send for CUhostTaskSyncMode_enum
impl Sync for CUhostTaskSyncMode_enum
impl Unpin for CUhostTaskSyncMode_enum
impl UnsafeUnpin for CUhostTaskSyncMode_enum
impl UnwindSafe for CUhostTaskSyncMode_enum
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