pub trait BlockASTNode: Debug + Clone {
    fn from(id: usize, typ: &str, lbl: &str) -> Self;
    fn add_node(&self, in_port: String, out_port: String, node: Self);

    fn add_structural_node(&self, node: Self) { ... }
}

Required Methods

Provided Methods

Implementors