Trait hydro_lang::deploy::Node
source · pub trait Node {
type Port;
type Meta;
type InstantiateEnv;
// Required methods
fn next_port(&self) -> Self::Port;
fn update_meta(&mut self, meta: &Self::Meta);
fn instantiate(
&self,
env: &mut Self::InstantiateEnv,
meta: &mut Self::Meta,
graph: DfirGraph,
extra_stmts: Vec<Stmt>,
);
}