Enum microkelvin::IterChild [−][src]
pub enum IterChild<'a, C, A> where
C: Compound<A>, { Leaf(&'a C::Leaf), Node(&'a Annotated<C, A>), }
The kinds of children you can encounter iterating over a Compound
Variants
Leaf(&'a C::Leaf)
Iterator found a leaf
Node(&'a Annotated<C, A>)
Iterator found an annotated node
Implementations
impl<'a, C, A> IterChild<'a, C, A> where
A: Annotation<C::Leaf>,
C: Compound<A>,
[src]
impl<'a, C, A> IterChild<'a, C, A> where
A: Annotation<C::Leaf>,
C: Compound<A>,
[src]pub fn annotation(&self) -> WrappedAnnotation<'_, A>
[src]
Returns the annotation of the child
Auto Trait Implementations
impl<'a, C, A> !RefUnwindSafe for IterChild<'a, C, A>
impl<'a, C, A> !RefUnwindSafe for IterChild<'a, C, A>
impl<'a, C, A> !UnwindSafe for IterChild<'a, C, A>
impl<'a, C, A> !UnwindSafe for IterChild<'a, C, A>