It would be useful to be able to iterate the `Arc<T>` leaves of a `Tree`, see this comment on LH for context: https://github.com/sigp/lighthouse/pull/7675#discussion_r2188786165