[][src]Struct rgraph::Node

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]

pub fn new<S>(name: S, func: F, ins: Vec<String>, outs: Vec<String>) -> Node<F> where
    S: Into<String>, 
[src]

Trait Implementations

impl<F> NodeRunner for Node<F> where
    F: Fn(&mut GraphSolver) -> Result<SolverStatus, SolverError>, 
[src]

Auto Trait Implementations

impl<F> Send for Node<F> where
    F: Send

impl<F> Sync for Node<F> where
    F: Sync

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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