fn add_dependency(&self, from: NodeId, to: NodeId) {
        self.log_circuit_event(&CircuitEvent::dependency(
            GlobalNodeId::child_of(self, from),
            GlobalNodeId::child_of(self, to),
        ));

        let origin = GlobalNodeId::child_of(self, from);
        self.inner_mut().add_edge(Edge {
            from,
            to,
            origin,
            ownership_preference: None,
        });
    }
/// Register a dependency between `from` and `to` nodes.  A dependency tells
/// the scheduler that `from` must be evaluated before `to` in each
/// clock cycle even though there may not be an edge or a path
/// connecting them.
Register a dependency between `from` and `to` nodes.  A dependency tells
the scheduler that `from` must be evaluated before `to` in each
clock cycle even though there may not be an edge or a path
connecting them.
Register a dependency between ` from ` and ` to ` nodes . A dependency tells the scheduler that ` from ` must be evaluated before ` to ` in each clock cycle even though there may not be an edge or a path connecting them .
fn add_dependency(&self, from: NodeId, to: NodeId) {
        self.log_circuit_event(&CircuitEvent::dependency(
            GlobalNodeId::child_of(self, from),
            GlobalNodeId::child_of(self, to),
        ));
        let origin = GlobalNodeId::child_of(self, from);
        self.inner_mut().add_edge(Edge {
            from,
            to,
            origin,
            ownership_preference: None,
        });
    }
fn add_dependency ( & self , from : NodeId , to : NodeId ) { self . log_circuit_event ( & CircuitEvent :: dependency ( GlobalNodeId :: child_of ( self , from ) , GlobalNodeId :: child_of ( self , to ) , ) ) ; let origin = GlobalNodeId :: child_of ( self , from ) ; self . inner_mut ( ) . add_edge ( Edge { from , to , origin , ownership_preference : None , } ) ; }
Register a dependency between `from` and `to` nodes.
Register a dependency between ` from ` and ` to ` nodes .
&self
from
NodeId
to
NodeId