pub enum NodeRef {
Root,
State {
id: String,
},
Transition {
source: String,
index: usize,
},
Initial {
state: String,
},
Data {
id: String,
},
Invoke {
state: String,
index: usize,
},
Exec {
state: String,
},
}Expand description
The node a violation is about.
Variants§
Root
The <scxml> root.
State
A state, by identifier (possibly empty when the identifier is missing).
Transition
A transition, by source state and index in its transition list.
Initial
The initial attribute or <initial> element of a state.
Data
A data item, by identifier.
Invoke
An invoke, by owning state and index.
Exec
An executable content element inside a state (its handlers, transitions or invokes).
Trait Implementations§
impl Eq for NodeRef
impl StructuralPartialEq for NodeRef
Auto Trait Implementations§
impl Forget for NodeRef
impl Freeze for NodeRef
impl Move for NodeRef
impl RefUnwindSafe for NodeRef
impl Send for NodeRef
impl Sync for NodeRef
impl Unpin for NodeRef
impl UnsafeUnpin for NodeRef
impl UnwindSafe for NodeRef
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