Struct stepflow::step::Step[][src]

pub struct Step {
    pub id: StepId,
    pub input_vars: Option<Vec<VarId, Global>>,
    pub output_vars: Vec<VarId, Global>,
    // some fields omitted
}

Fields

id: StepIdinput_vars: Option<Vec<VarId, Global>>output_vars: Vec<VarId, Global>

Implementations

impl Step[src]

pub fn new(
    id: StepId,
    input_vars: Option<Vec<VarId, Global>>,
    output_vars: Vec<VarId, Global>
) -> Step
[src]

pub fn get_input_vars(&self) -> &Option<Vec<VarId, Global>>[src]

pub fn get_output_vars(&self) -> &Vec<VarId, Global>[src]

pub fn push_substep(&mut self, substep_step_id: StepId)[src]

pub fn next_substep(&self, prev_substep_id: &StepId) -> Option<&StepId>[src]

pub fn first_substep(&self) -> Option<&StepId>[src]

pub fn can_enter(&self, inputs: &StateData) -> Result<(), IdError<VarId>>[src]

pub fn can_exit(&self, state_data: &StateData) -> Result<(), IdError<VarId>>[src]

Trait Implementations

impl Debug for Step[src]

impl ObjectStoreContent for Step[src]

type IdType = StepId

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.