Various data structure impls in Rust