pub trait HasBranches<'a>: KnowsBranches<'a> {
    // Required method
    fn branches(self) -> impl Iterator<Item = Self::Branches>;
}

Required Methods§

source

fn branches(self) -> impl Iterator<Item = Self::Branches>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, Parent, Value> HasBranches<'a> for &'a Visitor<Parent, Value>
where Parent: Clone, Value: Clone + HasBranches<'a>, Value::Branches: KnowsPathSegment + KnowsVisitor<'a>, <Value::Branches as KnowsVisitor<'a>>::Visitor: KnowsPathSegment<PathSegment = <Value::Branches as KnowsPathSegment>::PathSegment>, Self::Branches: HasVisitorConstructor<'a, Value = Value::Branches>, Visitor<Parent, Value>: Into<<Self::Branches as KnowsParent<'a>>::Parent> + Clone,

source§

impl<'a, Value> HasBranches<'a> for &'a RootVisitor<Value>
where Value: Clone + HasBranches<'a>, Value::Branches: KnowsPathSegment + KnowsVisitor<'a>, <Value::Branches as KnowsVisitor<'a>>::Visitor: KnowsPathSegment<PathSegment = <Value::Branches as KnowsPathSegment>::PathSegment>, Self::Branches: HasVisitorConstructor<'a, Value = Value::Branches>, RootVisitor<Value>: Into<<Self::Branches as KnowsParent<'a>>::Parent> + Clone,