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]

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> !Send for IterChild<'a, C, A>

impl<'a, C, A> !Sync for IterChild<'a, C, A>

impl<'a, C, A> Unpin for IterChild<'a, C, A>

impl<'a, C, A> !UnwindSafe for IterChild<'a, C, A>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.