1 2 3 4 5 6 7
use crate::{HasPathSegment, TreeUpdate, HasBranches}; pub trait IsTree<'a>: HasPathSegment + TreeUpdate<Self> + HasBranches<'a> + Sized { // fn iter(&self) -> TreeVisitor<&Self> { // TreeVisitor::new(self) // } }