pub enum EdgeKind {
ShortCircuit {
target: usize,
condition: Condition,
},
Coalesce {
target: usize,
},
Loop {
target: usize,
name: &'static str,
},
Bind {
target: usize,
},
Comp {
target: usize,
part: CompPart,
},
}Expand description
Edge between blocks describing how control flows.
Variants§
ShortCircuit
Conditional short-circuit: AndOp / OrOp — right side executed
only when left is truthy / falsy respectively.
Coalesce
Null-coalesce branch taken when left is null.
Loop
Per-element loop (filter / map body).
Bind
Destructure / bind — always taken, introduces new scope.
Comp
Comprehension body.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EdgeKind
impl RefUnwindSafe for EdgeKind
impl Send for EdgeKind
impl Sync for EdgeKind
impl Unpin for EdgeKind
impl UnsafeUnpin for EdgeKind
impl UnwindSafe for EdgeKind
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