pub struct StateGraph {
pub states: Vec<StateNode>,
pub edges: Vec<DependencyEdge>,
}Expand description
A state graph is the executable structure derived from ops/pipelines.
Fields§
§states: Vec<StateNode>Planned states included in the graph.
edges: Vec<DependencyEdge>Dependency edges connecting those states.
Trait Implementations§
Source§impl Clone for StateGraph
impl Clone for StateGraph
Source§fn clone(&self) -> StateGraph
fn clone(&self) -> StateGraph
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StateGraph
impl !RefUnwindSafe for StateGraph
impl Send for StateGraph
impl Sync for StateGraph
impl Unpin for StateGraph
impl UnsafeUnpin for StateGraph
impl !UnwindSafe for StateGraph
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