use crate::params::*; pub struct Node { pub params: Box, pub label: String } impl Node { pub fn init(params: Box, label: String) -> Node { Node{ params: params, label:label } } } impl PartialEq for Node { fn eq(&self, other: &Node) -> bool{ self.label == other.label } }