pub enum ExecKind {
Raise {
event: String,
},
Send(Box<Send>),
Cancel {
sendid: Option<String>,
sendidexpr: Option<Expr>,
},
Log {
label: Option<String>,
expr: Option<Expr>,
},
Assign {
location: Expr,
expr: Option<Expr>,
content: Option<String>,
},
Script(Script),
If {
branches: Vec<IfBranch>,
},
Foreach {
array: Expr,
item: String,
index: Option<String>,
body: Block,
},
Extension(Extension),
}Expand description
The executable content elements of SCXML.
Variants§
Raise
<raise event>.
Send(Box<Send>)
<send>.
Cancel
<cancel>.
Log
<log>.
Assign
<assign>.
Fields
Script(Script)
<script>.
If
<if> with its <elseif> and <else> branches, in document order. The else
branch, if present, is last and has no condition.
Foreach
<foreach>.
Extension(Extension)
An executable content element from the vt: or a foreign namespace.
Trait Implementations§
impl Eq for ExecKind
impl StructuralPartialEq for ExecKind
Auto Trait Implementations§
impl Forget for ExecKind
impl Freeze for ExecKind
impl Move for ExecKind
impl RefUnwindSafe for ExecKind
impl Send for ExecKind
impl Sync for ExecKind
impl Unpin for ExecKind
impl UnsafeUnpin for ExecKind
impl UnwindSafe for ExecKind
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