Struct calc_graph::Graph [−][src]
pub struct Graph { /* fields omitted */ }
Returns new Node<Source>
objects, which act as inputs to the rest of the graph.
Methods
impl Graph
[src]
impl Graph
pub fn new() -> Self
[src]
pub fn new() -> Self
Returns a new Graph
.
pub fn source<T>(&self, value: T) -> Node<Source<T>>
[src]
pub fn source<T>(&self, value: T) -> Node<Source<T>>
Defines a new Node<Source>
containing an initial value.