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

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

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 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

returns if a type is a custom type

The target for nested lookups

The type for Objects

The array structure

The object structure

Gets the type of the current value

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

Tries to represent the value as a bool Read more

Tries to represent the value as an i128

Tries to represent the value as a i128 Read more

Tries to represent the value as an i64 Read more

Tries to represent the value as an i32

Tries to represent the value as an i32 Read more

Tries to represent the value as an i16

Tries to represent the value as an i16 Read more

Tries to represent the value as an i8

Tries to represent the value as an i8 Read more

Tries to represent the value as an u128

Tries to represent the value as an u128 Read more

Tries to represent the value as an u64 Read more

Tries to represent the value as an usize

Tries to represent the value as an usize Read more

Tries to represent the value as an u32

Tries to represent the value as an u32 Read more

Tries to represent the value as an u16

Tries to represent the value as an u16 Read more

Tries to represent the value as an u8

Tries to represent the value as an u8 Read more

Tries to represent the value as a f64 Read more

Tries to Casts the current value to a f64 if possible, this will turn integer values into floats and error if it isn’t possible Read more

Tries to represent the value as a f32

Tries to represent the value as a f32 Read more

Tries to represent the value as a &str Read more

Tries to represent the value as a Char

Tries to represent the value as a Char Read more

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

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

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

Trys to get a value based on a key, returns a TryTypeError if the current Value isn’t an Object, returns None if the key isn’t in the object 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 a value based on n index, returns a type error if the current value isn’t an Array, returns None if the index is out of bouds Read more

Tries to get an element of an object as a bool

Tries to get an element of an object as a bool, returns an error if it isn’t bool Read more

Tries to get an element of an object as a i128

Tries to get an element of an object as a i128, returns an error if it isn’t i128 Read more

Tries to get an element of an object as a i64

Tries to get an element of an object as a i64, returns an error if it isn’t a i64 Read more

Tries to get an element of an object as a i32

Tries to get an element of an object as a i32, returns an error if it isn’t a i32 Read more

Tries to get an element of an object as a i16

Tries to get an element of an object as a i16, returns an error if it isn’t a i16 Read more

Tries to get an element of an object as a i8

Tries to get an element of an object as a i8, returns an error if it isn’t a i8 Read more

Tries to get an element of an object as a u128

Tries to get an element of an object as a u128, returns an error if it isn’t a u128 Read more

Tries to get an element of an object as a u64

Tries to get an element of an object as a u64, returns an error if it isn’t a u64 Read more

Tries to get an element of an object as a usize

Tries to get an element of an object as a usize, returns an error if it isn’t a usize Read more

Tries to get an element of an object as a u32

Tries to get an element of an object as a u32, returns an error if it isn’t a u32 Read more

Tries to get an element of an object as a u16

Tries to get an element of an object as a u16, returns an error if it isn’t a u16 Read more

Tries to get an element of an object as a u8

Tries to get an element of an object as a u8, returns an error if it isn’t a u8 Read more

Tries to get an element of an object as a f64

Tries to get an element of an object as a u8, returns an error if it isn’t a u8 Read more

Tries to get an element of an object as a f32

Tries to get an element of an object as a f32, returns an error if it isn’t a f32 Read more

Tries to get an element of an object as a str

Tries to get an element of an object as a str, returns an error if it isn’t a str Read more

Tries to get an element of an object as a array

Tries to get an element of an object as an array, returns an error if it isn’t a array Read more

Tries to get an element of an object as a object

Tries to get an element of an object as an object, returns an error if it isn’t an object Read more

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

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.