#[repr(transparent)]pub struct CUgraphConditionalNodeType_enum(pub c_uint);Expand description
Conditional node types.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUgraphConditionalNodeType_enum
impl CUgraphConditionalNodeType_enum
Sourcepub const CU_GRAPH_COND_TYPE_IF: CUgraphConditionalNodeType_enum
pub const CU_GRAPH_COND_TYPE_IF: CUgraphConditionalNodeType_enum
Conditional ‘if/else’ Node.
Body[0] executed if condition is non-zero. If size == 2, an optional ELSE graph is created and this is executed if the condition is zero.
Sourcepub const CU_GRAPH_COND_TYPE_WHILE: CUgraphConditionalNodeType_enum
pub const CU_GRAPH_COND_TYPE_WHILE: CUgraphConditionalNodeType_enum
Conditional ‘while’ Node.
Body executed repeatedly while condition value is non-zero.
Sourcepub const CU_GRAPH_COND_TYPE_SWITCH: CUgraphConditionalNodeType_enum
pub const CU_GRAPH_COND_TYPE_SWITCH: CUgraphConditionalNodeType_enum
Conditional ‘switch’ Node.
Body[n] is executed once, where ‘n’ is the value of the condition. If the condition does not match a body index, no body is launched.
Trait Implementations§
impl Copy for CUgraphConditionalNodeType_enum
impl Eq for CUgraphConditionalNodeType_enum
Source§impl Ord for CUgraphConditionalNodeType_enum
impl Ord for CUgraphConditionalNodeType_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 PartialOrd for CUgraphConditionalNodeType_enum
impl PartialOrd for CUgraphConditionalNodeType_enum
impl StructuralPartialEq for CUgraphConditionalNodeType_enum
Auto Trait Implementations§
impl Forget for CUgraphConditionalNodeType_enum
impl Freeze for CUgraphConditionalNodeType_enum
impl Move for CUgraphConditionalNodeType_enum
impl RefUnwindSafe for CUgraphConditionalNodeType_enum
impl Send for CUgraphConditionalNodeType_enum
impl Sync for CUgraphConditionalNodeType_enum
impl Unpin for CUgraphConditionalNodeType_enum
impl UnsafeUnpin for CUgraphConditionalNodeType_enum
impl UnwindSafe for CUgraphConditionalNodeType_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