pub enum StateDefBodyElement {
Error(Node<ParseErrorNode>),
Doc(Node<DocComment>),
Annotation(Node<Annotation>),
MetadataKeywordUsage(Node<MetadataKeywordUsage>),
Other(String),
Entry(Node<EntryAction>),
Then(Node<ThenStmt>),
FinalState(Node<FinalState>),
Ref(Node<RefDecl>),
RequirementUsage(Node<RequirementUsage>),
StateUsage(Node<StateUsage>),
Transition(Node<Transition>),
}Variants§
Error(Node<ParseErrorNode>)
Doc(Node<DocComment>)
Annotation(Node<Annotation>)
MetadataKeywordUsage(Node<MetadataKeywordUsage>)
Other(String)
Entry(Node<EntryAction>)
entry (; or body) - entry action.
Then(Node<ThenStmt>)
then name ; - initial state.
FinalState(Node<FinalState>)
final / final state name ; - explicit final state.
Ref(Node<RefDecl>)
ref name : type body ÔÇô reference binding in state.
RequirementUsage(Node<RequirementUsage>)
StateUsage(Node<StateUsage>)
Transition(Node<Transition>)
Trait Implementations§
Source§impl Clone for StateDefBodyElement
impl Clone for StateDefBodyElement
Source§fn clone(&self) -> StateDefBodyElement
fn clone(&self) -> StateDefBodyElement
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 StateDefBodyElement
impl Debug for StateDefBodyElement
impl Eq for StateDefBodyElement
Source§impl PartialEq for StateDefBodyElement
impl PartialEq for StateDefBodyElement
Source§fn eq(&self, other: &StateDefBodyElement) -> bool
fn eq(&self, other: &StateDefBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StateDefBodyElement
Auto Trait Implementations§
impl Freeze for StateDefBodyElement
impl RefUnwindSafe for StateDefBodyElement
impl Send for StateDefBodyElement
impl Sync for StateDefBodyElement
impl Unpin for StateDefBodyElement
impl UnsafeUnpin for StateDefBodyElement
impl UnwindSafe for StateDefBodyElement
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