[][src]Enum kserd::nav::NodeValue

pub enum NodeValue<'a, 'k, 'nav, 'node> {
    Primitive,
    Tuple(SeqIter<'a, 'k, 'nav, 'node>),
    Cntr(NamedIter<'a, 'k, 'nav, 'node>),
    Seq(SeqIter<'a, 'k, 'nav, 'node>),
    Map(KeyedIter<'a, 'k, 'nav, 'node>),
}

The node's value type.

Differs to Value in that it groups primitives, and provides iterators over nested Kserds that themselves return Nodes, such that position information is retained if walking through a Kserd.

Variants

Primitive

A primitive value.

Tuple(SeqIter<'a, 'k, 'nav, 'node>)

A tuple value.

Cntr(NamedIter<'a, 'k, 'nav, 'node>)

A container value.

Seq(SeqIter<'a, 'k, 'nav, 'node>)

A sequence value.

Map(KeyedIter<'a, 'k, 'nav, 'node>)

A map value.

Auto Trait Implementations

impl<'a, 'k, 'nav, 'node> RefUnwindSafe for NodeValue<'a, 'k, 'nav, 'node>

impl<'a, 'k, 'nav, 'node> Send for NodeValue<'a, 'k, 'nav, 'node> where
    'k: 'node, 

impl<'a, 'k, 'nav, 'node> Sync for NodeValue<'a, 'k, 'nav, 'node>

impl<'a, 'k, 'nav, 'node> Unpin for NodeValue<'a, 'k, 'nav, 'node> where
    'a: 'nav,
    'k: 'nav, 

impl<'a, 'k, 'nav, 'node> UnwindSafe for NodeValue<'a, 'k, 'nav, 'node>

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.