[][src]Enum simd_json::value::tape::Node

pub enum Node<'input> {
    String(&'input str),
    Object(usizeusize),
    Array(usizeusize),
    Static(StaticNode),
}

Tape Node

Variants

String(&'input str)

A string, located inside the input slice

Object(usizeusize)

An Object with the given size starts here. the following values are keys and values, alternating however values can be nested and have a length thsemlfs.

Array(usizeusize)

An array with a given size starts here. The next size elements belong to it - values can be nested and have a size of their own.

Static(StaticNode)

A static value that is interned into the tape, it can be directly taken and isn't nested.

Trait Implementations

impl<'input> Clone for Node<'input>[src]

impl<'input> Copy for Node<'input>[src]

impl<'input> PartialEq<Node<'input>> for Node<'input>[src]

impl<'input> Debug for Node<'input>[src]

impl<'input> StructuralPartialEq for Node<'input>[src]

Auto Trait Implementations

impl<'input> Send for Node<'input>

impl<'input> Sync for Node<'input>

impl<'input> Unpin for Node<'input>

impl<'input> UnwindSafe for Node<'input>

impl<'input> RefUnwindSafe for Node<'input>

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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.

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

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

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