pub enum StaticNode {
    I64(i64),
    U64(u64),
    F64(f64),
    Bool(bool),
    Null,
}
Expand description

Static tape node

Variants

I64(i64)

A signed 64 bit integer.

U64(u64)

An unsigned 64 bit integer.

F64(f64)

A floating point value

Bool(bool)

A boolean value

Null

The null value

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

Performs the mutable indexing (container[index]) operation. Read more

Performs the mutable indexing (container[index]) operation. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Returns the type of the current Valye

returns true if the current value is null

returns true if the current value a floatingpoint number

returns true if the current value a integer number

returns true if the current value a number either float or integer

returns true if the current value a bool

returns true if the current value can be represented as a i128

returns true if the current value can be represented as a i64

returns true if the current value can be represented as a i32

returns true if the current value can be represented as a i16

returns true if the current value can be represented as a i8

returns true if the current value can be represented as a u128

returns true if the current value can be represented as a u64

returns true if the current value can be represented as a usize

returns true if the current value can be represented as a u32

returns true if the current value can be represented as a u16

returns true if the current value can be represented as a u8

returns true if the current value can be represented as a f64

returns true if the current value can be cast into a f64

returns true if the current value can be represented as a f64

returns true if the current value can be represented as a str

returns true if the current value can be represented as a char

returns true if the current value can be represented as an array

returns true if the current value can be represented as an object

The target for nested lookups

The type for Objects

The array structure

The object structure

Tries to represent the value as an array and returns a refference to it

Tries to represent the value as an object and returns a refference to it

Tries to represent the value as a bool

Tries to represent the value as an i64

Tries to represent the value as an u64

Tries to represent the value as a f64

Casts the current value to a f64 if possible, this will turn integer values into floats. Read more

Tries to represent the value as a &str

Gets a ref to a value based on a key, returns None if the current Value isn’t an Object or doesn’t contain the key it was asked for. Read more

Checks if a Value contains a given key. This will return flase if Value isn’t an object Read more

Gets a ref to a value based on n index, returns None if the current Value isn’t an Array or doesn’t contain the index it was asked for. Read more

Tries to get an element of an object as a bool

Tries to represent the value as an i128

Tries to get an element of an object as a i128

Tries to get an element of an object as a i64

Tries to represent the value as an i32

Tries to get an element of an object as a i32

Tries to represent the value as an i16

Tries to get an element of an object as a i16

Tries to represent the value as an i8

Tries to get an element of an object as a i8

Tries to represent the value as an u128

Tries to get an element of an object as a u128

Tries to get an element of an object as a u64

Tries to represent the value as an usize

Tries to get an element of an object as a usize

Tries to represent the value as an u32

Tries to get an element of an object as a u32

Tries to represent the value as an u16

Tries to get an element of an object as a u16

Tries to represent the value as an u8

Tries to get an element of an object as a u8

Tries to get an element of an object as a f64

Tries to represent the value as a f32

Tries to get an element of an object as a f32

Tries to represent the value as a Char

Tries to get an element of an object as a str

Tries to get an element of an object as a array

Tries to get an element of an object as a object

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.