use std::collections::HashMap; #[derive(Clone)] pub struct NodeAttributes(HashMap>); impl NodeAttributes { pub fn new() -> NodeAttributes { NodeAttributes(HashMap::new()) } }