#[repr(u8)]pub enum InstructionCode {
Show 111 variants
UNINITIALIZED = 0,
STATEMENTS = 1,
SHORT_STATEMENTS = 2,
UNBOUNDED_STATEMENTS = 3,
UNBOUNDED_STATEMENTS_END = 4,
JUMP = 5,
JUMP_IF_FALSE = 6,
JUMP_WITH_VALUE = 7,
APPLY_ZERO = 8,
APPLY_SINGLE = 9,
APPLY = 10,
CALL_METHOD = 11,
GET_ENTRY_DYNAMIC = 12,
GET_ENTRY_INDEX = 13,
GET_ENTRY_TEXT = 14,
TAKE_ENTRY_DYNAMIC = 15,
TAKE_ENTRY_INDEX = 16,
TAKE_ENTRY_TEXT = 17,
SET_ENTRY_DYNAMIC = 18,
SET_ENTRY_INDEX = 19,
SET_ENTRY_TEXT = 20,
SENDER = 21,
RECEIVER = 22,
MATCHES = 23,
STRUCTURAL_EQUAL = 24,
NOT_STRUCTURAL_EQUAL = 25,
EQUAL = 26,
NOT_EQUAL = 27,
IS = 28,
ADD = 29,
SUBTRACT = 30,
MULTIPLY = 31,
DIVIDE = 32,
MODULO = 33,
POWER = 34,
AND = 35,
OR = 36,
NOT = 37,
UNARY_PLUS = 38,
UNARY_MINUS = 39,
BITWISE_NOT = 40,
INCREMENT = 41,
DECREMENT = 42,
APPEND_ENTRY = 43,
CLEAR = 44,
SPLICE = 45,
SPLICE_DYNAMIC = 46,
CLONE_STACK_VALUE = 47,
BORROW_STACK_VALUE = 48,
GET_STACK_VALUE_SHARED_REF = 49,
GET_STACK_VALUE_SHARED_REF_MUT = 50,
SET_STACK_VALUE = 51,
PUSH_TO_STACK = 52,
PUSH_LIST_TO_STACK = 53,
TAKE_STACK_VALUE = 54,
GET_ROOT_PROPERTY = 55,
CALLABLE = 56,
CALLABLE_DECLARATION = 57,
ENTITY_TYPE_DEFINITION = 58,
REQUEST_REMOTE_SHARED_REF = 59,
REQUEST_REMOTE_SHARED_REF_MUT = 60,
GET_CORE_LIB_VALUE = 61,
GET_LOCAL_SHARED_REF = 62,
SHARED_REF = 63,
SHARED_REF_WITH_VALUE = 64,
MOVE_WITH_VALUE = 65,
DERIVE_SHARED_REF = 66,
DERIVE_SHARED_REF_MUT = 67,
CREATE_SHARED = 68,
CREATE_SHARED_MUT = 69,
SET_SHARED_CONTAINER_VALUE = 70,
UNBOX = 71,
ENTITY_VALUE = 72,
TYPE_EXPRESSION = 73,
TEXT = 74,
INT_8 = 75,
INT_16 = 76,
INT_32 = 77,
INT_64 = 78,
INT_128 = 79,
INT_BIG = 80,
INT = 81,
RANGE = 82,
UINT_8 = 83,
UINT_16 = 84,
UINT_32 = 85,
UINT_64 = 86,
UINT_128 = 87,
DECIMAL_F32 = 88,
DECIMAL_F64 = 89,
DECIMAL_BIG = 90,
DECIMAL_AS_INT_32 = 91,
DECIMAL_AS_INT_16 = 92,
DECIMAL = 93,
TRUE = 94,
FALSE = 95,
NULL = 96,
SHORT_TEXT = 97,
ENDPOINT = 98,
BOXED_VALUE = 99,
TAGGED_VALUE = 100,
INSTANT = 101,
LIST = 102,
SHORT_LIST = 103,
COMPACT_LIST = 104,
MAP = 105,
SHORT_MAP = 106,
KEY_VALUE_SHORT_TEXT = 107,
KEY_VALUE_DYNAMIC = 108,
REMOTE_EXECUTION = 109,
CLASSIFIED_VALUE = 110,
}Variants§
UNINITIALIZED = 0
STATEMENTS = 1
SHORT_STATEMENTS = 2
UNBOUNDED_STATEMENTS = 3
UNBOUNDED_STATEMENTS_END = 4
JUMP = 5
JUMP_IF_FALSE = 6
JUMP_WITH_VALUE = 7
APPLY_ZERO = 8
APPLY_SINGLE = 9
APPLY = 10
CALL_METHOD = 11
GET_ENTRY_DYNAMIC = 12
GET_ENTRY_INDEX = 13
GET_ENTRY_TEXT = 14
TAKE_ENTRY_DYNAMIC = 15
TAKE_ENTRY_INDEX = 16
TAKE_ENTRY_TEXT = 17
SET_ENTRY_DYNAMIC = 18
SET_ENTRY_INDEX = 19
SET_ENTRY_TEXT = 20
SENDER = 21
RECEIVER = 22
MATCHES = 23
STRUCTURAL_EQUAL = 24
NOT_STRUCTURAL_EQUAL = 25
EQUAL = 26
NOT_EQUAL = 27
IS = 28
ADD = 29
SUBTRACT = 30
MULTIPLY = 31
DIVIDE = 32
MODULO = 33
POWER = 34
AND = 35
OR = 36
NOT = 37
UNARY_PLUS = 38
UNARY_MINUS = 39
BITWISE_NOT = 40
INCREMENT = 41
DECREMENT = 42
APPEND_ENTRY = 43
CLEAR = 44
SPLICE = 45
SPLICE_DYNAMIC = 46
CLONE_STACK_VALUE = 47
BORROW_STACK_VALUE = 48
GET_STACK_VALUE_SHARED_REF = 49
GET_STACK_VALUE_SHARED_REF_MUT = 50
SET_STACK_VALUE = 51
PUSH_TO_STACK = 52
PUSH_LIST_TO_STACK = 53
TAKE_STACK_VALUE = 54
GET_ROOT_PROPERTY = 55
CALLABLE = 56
CALLABLE_DECLARATION = 57
ENTITY_TYPE_DEFINITION = 58
REQUEST_REMOTE_SHARED_REF = 59
REQUEST_REMOTE_SHARED_REF_MUT = 60
GET_CORE_LIB_VALUE = 61
GET_LOCAL_SHARED_REF = 62
SHARED_REF = 63
SHARED_REF_WITH_VALUE = 64
MOVE_WITH_VALUE = 65
DERIVE_SHARED_REF = 66
DERIVE_SHARED_REF_MUT = 67
CREATE_SHARED = 68
CREATE_SHARED_MUT = 69
SET_SHARED_CONTAINER_VALUE = 70
UNBOX = 71
ENTITY_VALUE = 72
value with entity classification
TYPE_EXPRESSION = 73
TEXT = 74
INT_8 = 75
INT_16 = 76
INT_32 = 77
INT_64 = 78
INT_128 = 79
INT_BIG = 80
INT = 81
RANGE = 82
UINT_8 = 83
UINT_16 = 84
UINT_32 = 85
UINT_64 = 86
UINT_128 = 87
DECIMAL_F32 = 88
DECIMAL_F64 = 89
DECIMAL_BIG = 90
DECIMAL_AS_INT_32 = 91
DECIMAL_AS_INT_16 = 92
DECIMAL = 93
TRUE = 94
FALSE = 95
NULL = 96
SHORT_TEXT = 97
ENDPOINT = 98
BOXED_VALUE = 99
TAGGED_VALUE = 100
INSTANT = 101
LIST = 102
SHORT_LIST = 103
COMPACT_LIST = 104
MAP = 105
SHORT_MAP = 106
KEY_VALUE_SHORT_TEXT = 107
KEY_VALUE_DYNAMIC = 108
REMOTE_EXECUTION = 109
CLASSIFIED_VALUE = 110
Implementations§
Trait Implementations§
Source§impl BinRead for InstructionCode
impl BinRead for InstructionCode
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments. Read moreSource§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader using the given arguments. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl BinWrite for InstructionCode
impl BinWrite for InstructionCode
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<()>
Source§fn write<W>(&self, writer: &mut W) -> Result<(), Error>
fn write<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer using default arguments. Read moreSource§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming little-endian byte order. Read moreSource§fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming native-endian byte order. Read moreSource§fn write_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer using the given arguments. Read moreSource§fn write_be_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_be_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Clone for InstructionCode
impl Clone for InstructionCode
impl Copy for InstructionCode
Source§impl Debug for InstructionCode
impl Debug for InstructionCode
Source§impl Display for InstructionCode
impl Display for InstructionCode
impl Eq for InstructionCode
Source§impl From<&ArithmeticOperator> for InstructionCode
impl From<&ArithmeticOperator> for InstructionCode
Source§fn from(op: &ArithmeticOperator) -> Self
fn from(op: &ArithmeticOperator) -> Self
Converts to this type from the input type.
Source§impl From<&ArithmeticUnaryOperator> for InstructionCode
impl From<&ArithmeticUnaryOperator> for InstructionCode
Source§fn from(op: &ArithmeticUnaryOperator) -> Self
fn from(op: &ArithmeticUnaryOperator) -> Self
Converts to this type from the input type.
Source§impl From<&BinaryOperator> for InstructionCode
impl From<&BinaryOperator> for InstructionCode
Source§fn from(op: &BinaryOperator) -> Self
fn from(op: &BinaryOperator) -> Self
Converts to this type from the input type.
Source§impl From<&BitwiseOperator> for InstructionCode
impl From<&BitwiseOperator> for InstructionCode
Source§fn from(op: &BitwiseOperator) -> Self
fn from(op: &BitwiseOperator) -> Self
Converts to this type from the input type.
Source§impl From<&BitwiseUnaryOperator> for InstructionCode
impl From<&BitwiseUnaryOperator> for InstructionCode
Source§fn from(op: &BitwiseUnaryOperator) -> Self
fn from(op: &BitwiseUnaryOperator) -> Self
Converts to this type from the input type.
Source§impl From<&ComparisonOperator> for InstructionCode
impl From<&ComparisonOperator> for InstructionCode
Source§fn from(op: &ComparisonOperator) -> Self
fn from(op: &ComparisonOperator) -> Self
Converts to this type from the input type.
Source§impl From<&InstructionCode> for BinaryOperator
impl From<&InstructionCode> for BinaryOperator
Source§fn from(code: &InstructionCode) -> Self
fn from(code: &InstructionCode) -> Self
Converts to this type from the input type.
Source§impl From<&LogicalOperator> for InstructionCode
impl From<&LogicalOperator> for InstructionCode
Source§fn from(op: &LogicalOperator) -> Self
fn from(op: &LogicalOperator) -> Self
Converts to this type from the input type.
Source§impl From<&LogicalUnaryOperator> for InstructionCode
impl From<&LogicalUnaryOperator> for InstructionCode
Source§fn from(op: &LogicalUnaryOperator) -> Self
fn from(op: &LogicalUnaryOperator) -> Self
Converts to this type from the input type.
Source§impl From<&RangeOperator> for InstructionCode
impl From<&RangeOperator> for InstructionCode
Source§fn from(op: &RangeOperator) -> Self
fn from(op: &RangeOperator) -> Self
Converts to this type from the input type.
Source§fn from(op: &SharedValueUnaryOperator) -> Self
fn from(op: &SharedValueUnaryOperator) -> Self
Converts to this type from the input type.
Source§impl From<&UnaryOperator> for InstructionCode
impl From<&UnaryOperator> for InstructionCode
Source§fn from(op: &UnaryOperator) -> Self
fn from(op: &UnaryOperator) -> Self
Converts to this type from the input type.
Source§impl From<BinaryOperator> for InstructionCode
impl From<BinaryOperator> for InstructionCode
Source§fn from(op: BinaryOperator) -> Self
fn from(op: BinaryOperator) -> Self
Converts to this type from the input type.
Source§impl From<ComparisonOperator> for InstructionCode
impl From<ComparisonOperator> for InstructionCode
Source§fn from(op: ComparisonOperator) -> Self
fn from(op: ComparisonOperator) -> Self
Converts to this type from the input type.
Source§impl From<InstructionCode> for BinaryOperator
impl From<InstructionCode> for BinaryOperator
Source§fn from(code: InstructionCode) -> Self
fn from(code: InstructionCode) -> Self
Converts to this type from the input type.
Source§impl From<InstructionCode> for u8
impl From<InstructionCode> for u8
Source§fn from(enum_value: InstructionCode) -> Self
fn from(enum_value: InstructionCode) -> Self
Converts to this type from the input type.
Source§impl IntoEnumIterator for InstructionCode
impl IntoEnumIterator for InstructionCode
type Iterator = InstructionCodeIter
fn iter() -> InstructionCodeIter ⓘ
Source§impl PartialEq for InstructionCode
impl PartialEq for InstructionCode
Source§impl ReadEndian for InstructionCode
impl ReadEndian for InstructionCode
Source§const ENDIAN: EndianKind = <u8 as binrw::meta::ReadEndian>::ENDIAN
const ENDIAN: EndianKind = <u8 as binrw::meta::ReadEndian>::ENDIAN
The endianness of the type.
impl StructuralPartialEq for InstructionCode
Source§impl TryFrom<u8> for InstructionCode
impl TryFrom<u8> for InstructionCode
Source§type Error = TryFromPrimitiveError<InstructionCode>
type Error = TryFromPrimitiveError<InstructionCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for InstructionCode
impl TryFromPrimitive for InstructionCode
const NAME: &'static str = "InstructionCode"
type Primitive = u8
type Error = TryFromPrimitiveError<InstructionCode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl WriteEndian for InstructionCode
impl WriteEndian for InstructionCode
Source§const ENDIAN: EndianKind = <u8 as binrw::meta::WriteEndian>::ENDIAN
const ENDIAN: EndianKind = <u8 as binrw::meta::WriteEndian>::ENDIAN
The endianness of the type.
Auto Trait Implementations§
impl Forget for InstructionCode
impl Freeze for InstructionCode
impl Move for InstructionCode
impl RefUnwindSafe for InstructionCode
impl Send for InstructionCode
impl Sync for InstructionCode
impl Unpin for InstructionCode
impl UnsafeUnpin for InstructionCode
impl UnwindSafe for InstructionCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CustomError for T
impl<T> CustomError for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
Source§fn is_subset_of(&self, other: &U) -> bool
fn is_subset_of(&self, other: &U) -> bool
Returns whether self is a subset of type