Understanding Rust's None and Some(T)
The Rust language doesn’t have values like NULL, None, null, nil, values that represent “nothing”, so how does Rust represent and handle “nothing”? When comparing objects, you need to check whether the two exist. Take this following Python code as an example def inorder(p, q): if p is None and q is None: return true if p is None or q is None: return False if not inorder(p.left, q.left): return False if p....