Struct rgraph::Node
[−]
[src]
pub struct Node<F> where
F: Fn(&mut GraphSolver) -> Result<SolverStatus, SolverError>, { /* fields omitted */ }Generic that stores the information required to execute arbitrary tasks
Please use create_node macro to instantiate this objects
Methods
impl<F> Node<F> where
F: Fn(&mut GraphSolver) -> Result<SolverStatus, SolverError>, [src]
F: Fn(&mut GraphSolver) -> Result<SolverStatus, SolverError>,
pub fn new<S>(name: S, func: F, ins: Vec<String>, outs: Vec<String>) -> Node<F> where
S: Into<String>, [src]
S: Into<String>,
Trait Implementations
impl<F> NodeRunner for Node<F> where
F: Fn(&mut GraphSolver) -> Result<SolverStatus, SolverError>, [src]
F: Fn(&mut GraphSolver) -> Result<SolverStatus, SolverError>,