pub enum ActionUsageBodyElement {
Show 15 variants
Error(Node<ParseErrorNode>),
Doc(Node<DocComment>),
Annotation(Node<Annotation>),
InOutDecl(Node<InOutDecl>),
RefDecl(Node<RefDecl>),
Bind(Node<Bind>),
Flow(Node<Flow>),
FirstStmt(Node<FirstStmt>),
MergeStmt(Node<MergeStmt>),
StateUsage(Node<StateUsage>),
ActionUsage(Box<Node<ActionUsage>>),
Assign(Node<AssignStmt>),
ForLoop(Node<ForLoop>),
ThenAction(Node<ThenAction>),
Decl(Node<ActionBodyDecl>),
}Expand description
Element inside an action usage body.
Variants§
Error(Node<ParseErrorNode>)
Doc(Node<DocComment>)
Annotation(Node<Annotation>)
InOutDecl(Node<InOutDecl>)
RefDecl(Node<RefDecl>)
Bind(Node<Bind>)
Flow(Node<Flow>)
FirstStmt(Node<FirstStmt>)
MergeStmt(Node<MergeStmt>)
StateUsage(Node<StateUsage>)
ActionUsage(Box<Node<ActionUsage>>)
Assign(Node<AssignStmt>)
ForLoop(Node<ForLoop>)
ThenAction(Node<ThenAction>)
Decl(Node<ActionBodyDecl>)
Trait Implementations§
Source§impl Clone for ActionUsageBodyElement
impl Clone for ActionUsageBodyElement
Source§fn clone(&self) -> ActionUsageBodyElement
fn clone(&self) -> ActionUsageBodyElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionUsageBodyElement
impl Debug for ActionUsageBodyElement
impl Eq for ActionUsageBodyElement
Source§impl PartialEq for ActionUsageBodyElement
impl PartialEq for ActionUsageBodyElement
Source§fn eq(&self, other: &ActionUsageBodyElement) -> bool
fn eq(&self, other: &ActionUsageBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActionUsageBodyElement
Auto Trait Implementations§
impl Freeze for ActionUsageBodyElement
impl RefUnwindSafe for ActionUsageBodyElement
impl Send for ActionUsageBodyElement
impl Sync for ActionUsageBodyElement
impl Unpin for ActionUsageBodyElement
impl UnsafeUnpin for ActionUsageBodyElement
impl UnwindSafe for ActionUsageBodyElement
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