pub enum ProcessTree {
Activity {
label: String,
},
Tau,
Sequence {
children: Vec<ProcessTree>,
},
Exclusive {
children: Vec<ProcessTree>,
},
Parallel {
children: Vec<ProcessTree>,
},
Loop {
children: Vec<ProcessTree>,
},
}Expand description
A process tree node.
Variants§
Activity
A leaf activity.
Tau
The silent step.
Sequence
Children in order.
Fields
§
children: Vec<ProcessTree>Exclusive
Exactly one child happens.
Fields
§
children: Vec<ProcessTree>Parallel
All children happen, interleaved.
Fields
§
children: Vec<ProcessTree>Loop
children[0] is the body; the rest are redo parts.
Fields
§
children: Vec<ProcessTree>Trait Implementations§
Source§impl Clone for ProcessTree
impl Clone for ProcessTree
Source§fn clone(&self) -> ProcessTree
fn clone(&self) -> ProcessTree
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 ProcessTree
impl Debug for ProcessTree
impl Eq for ProcessTree
Source§impl PartialEq for ProcessTree
impl PartialEq for ProcessTree
Source§fn eq(&self, other: &ProcessTree) -> bool
fn eq(&self, other: &ProcessTree) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessTree
impl Serialize for ProcessTree
impl StructuralPartialEq for ProcessTree
Auto Trait Implementations§
impl Freeze for ProcessTree
impl RefUnwindSafe for ProcessTree
impl Send for ProcessTree
impl Sync for ProcessTree
impl Unpin for ProcessTree
impl UnsafeUnpin for ProcessTree
impl UnwindSafe for ProcessTree
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