pub enum AStmt {
SetMember(usize, ExprId),
AddMember(usize, ExprId),
SetReturn(StrId, ExprId),
Seq(Box<[StmtId]>),
Hook(HookId),
}Expand description
Effectful action statement node.
Statements never run during prediction unless the runtime explicitly classifies them as speculation-eligible (member-only mutations evaluated against a transactional member environment).
Variants§
SetMember(usize, ExprId)
member = expr.
AddMember(usize, ExprId)
member += expr.
SetReturn(StrId, ExprId)
Assign a rule return field by name.
Seq(Box<[StmtId]>)
Execute statements in order.
Hook(HookId)
Defer to the context’s action hook table.
Trait Implementations§
impl Eq for AStmt
impl StructuralPartialEq for AStmt
Auto Trait Implementations§
impl Freeze for AStmt
impl RefUnwindSafe for AStmt
impl Send for AStmt
impl Sync for AStmt
impl Unpin for AStmt
impl UnsafeUnpin for AStmt
impl UnwindSafe for AStmt
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