Enum simd_json::value::tape::Node [−][src]
pub enum Node<'input> {
String(&'input str),
Object(usize, usize),
Array(usize, usize),
Static(StaticNode),
}Expand description
Tape Node
Variants
String(&'input str)A string, located inside the input slice
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 themselves.
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> Copy for Node<'input>[src]
impl<'input> StructuralPartialEq for Node<'input>[src]
Auto Trait Implementations
impl<'input> RefUnwindSafe for Node<'input>
impl<'input> Send for Node<'input>
impl<'input> Sync for Node<'input>
impl<'input> Unpin for Node<'input>
impl<'input> UnwindSafe for Node<'input>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more