pub struct Subplan {
pub goals: Vec<AbstractTaskId>,
pub branches: Vec<BranchSpec>,
}
Expand description
One line of a plan (aka a cross-product; e.g. “reach task via (Branch: val1 val2)”).
Fields§
§goals: Vec<AbstractTaskId>
Tasks we want to reach.
branches: Vec<BranchSpec>
Branches to realize tasks for.
Implementations§
Source§impl Subplan
impl Subplan
pub fn create( strings: &mut WorkflowStrings, cross_product: CrossProduct<'_>, ) -> Result<Self>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subplan
impl RefUnwindSafe for Subplan
impl Send for Subplan
impl Sync for Subplan
impl Unpin for Subplan
impl UnwindSafe for Subplan
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