pub struct FlowDefinition {
pub nodes: Vec<FlowNode>,
pub edges: Vec<FlowEdge>,
}Expand description
A graph: nodes and the directed edges between them.
Fields§
§nodes: Vec<FlowNode>All vertices in the graph.
edges: Vec<FlowEdge>All directed arcs in the graph.
Trait Implementations§
Source§impl Clone for FlowDefinition
impl Clone for FlowDefinition
Source§fn clone(&self) -> FlowDefinition
fn clone(&self) -> FlowDefinition
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 FlowDefinition
impl Debug for FlowDefinition
Source§impl Default for FlowDefinition
impl Default for FlowDefinition
Source§fn default() -> FlowDefinition
fn default() -> FlowDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlowDefinition
impl<'de> Deserialize<'de> for FlowDefinition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FlowDefinition
impl PartialEq for FlowDefinition
Source§fn eq(&self, other: &FlowDefinition) -> bool
fn eq(&self, other: &FlowDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FlowDefinition
impl Serialize for FlowDefinition
impl StructuralPartialEq for FlowDefinition
Auto Trait Implementations§
impl Freeze for FlowDefinition
impl RefUnwindSafe for FlowDefinition
impl Send for FlowDefinition
impl Sync for FlowDefinition
impl Unpin for FlowDefinition
impl UnsafeUnpin for FlowDefinition
impl UnwindSafe for FlowDefinition
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