[][src]Struct multiproof_rs::tree::NodeChildIterator

pub struct NodeChildIterator<'a, N: NodeType, T: Tree<N>> {
    pub index: usize,
    pub key: Option<&'a N::Key>,
    pub node: &'a T,
}

Fields

index: usize

The iterator's current child index.

key: Option<&'a N::Key>

The node's current key, if available.

node: &'a T

The node whose children are being iterated on.

Trait Implementations

impl<'a, N: NodeType, T: Tree<N>> Iterator for NodeChildIterator<'a, N, T>[src]

type Item = &'a T

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, N, T> RefUnwindSafe for NodeChildIterator<'a, N, T> where
    T: RefUnwindSafe,
    <N as NodeType>::Key: RefUnwindSafe

impl<'a, N, T> Send for NodeChildIterator<'a, N, T> where
    T: Sync,
    <N as NodeType>::Key: Sync

impl<'a, N, T> Sync for NodeChildIterator<'a, N, T> where
    T: Sync,
    <N as NodeType>::Key: Sync

impl<'a, N, T> Unpin for NodeChildIterator<'a, N, T>

impl<'a, N, T> UnwindSafe for NodeChildIterator<'a, N, T> where
    T: RefUnwindSafe,
    <N as NodeType>::Key: RefUnwindSafe

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> Same<T> for T

type Output = T

Should always be Self

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.