Enum InstOp Copy item path
Summary Source pub enum InstOp {
Lt,
Le,
Gt,
Ge,
Eq,
Neq,
As,
Is,
IsNot,
And,
Or,
}
Expand description An operation between two values on the machine.
Compare two values on the stack for lt and push the result as a
boolean on the stack.
Compare two values on the stack for lte and push the result as a
boolean on the stack.
Compare two values on the stack for gt and push the result as a
boolean on the stack.
Compare two values on the stack for gte and push the result as a
boolean on the stack.
Compare two values on the stack for equality and push the result as a
boolean on the stack.
§ OperationCompare two values on the stack for inequality and push the result as a
boolean on the stack.
§ OperationCoerce a value into the given type.
§ Operation<type>
<value>
=> <boolean>
Test if the top of the stack is an instance of the second item on the
stack.
§ Operation<type>
<value>
=> <boolean>
Test if the top of the stack is not an instance of the second item on
the stack.
§ Operation<type>
<value>
=> <boolean>
Pop two values from the stack and test if they are both boolean true.
§ Operation<boolean>
<boolean>
=> <boolean>
Pop two values from the stack and test if either of them are boolean
true.
§ Operation<boolean>
<boolean>
=> <boolean>
Performs copy-assignment from
source
.
Read more Formats the value using the given formatter.
Read more Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type.
Read more Decode the current value.
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type.
Read more Decode the current value.
Deserialize this value from the given Serde deserializer.
Read more Formats the value using the given formatter.
Read more Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type.
Read more Encode the given output.
The number of fields in the type.
Coerce into the underlying value being encoded.
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type.
Read more Encode the given output.
The number of fields in the type.
Coerce into the underlying value being encoded.
Serialize this value into the given Serde serializer.
Read more Try to clone the current value, raising an allocation error if it’s unsuccessful.
Performs copy-assignment from
source
.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit
)
Performs copy-assignment from
self
to
dest
.
Read more Returns the argument unchanged.
Instruments this type with the provided
Span
, returning an
Instrumented
wrapper.
Read more 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.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Converts the given value to a
String
.
Read more