Of Boxes and Trees - Smart Pointers in Rust

from blog Matthias Endler, | ↗ original
Recently, I tried to implement a binary tree data structure in Rust. Each binary tree has a root value, a left, and a right subtree. I started from this Python implementation, which is quite straightforward.