#[non_exhaustive]pub enum Operand {
}Expand description
Instruction operands supported by the disassembler.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
I8(i8)
Signed 8-bit integer.
I16(i16)
Signed 16-bit integer.
I32(i32)
Signed 32-bit integer.
I64(i64)
Signed 64-bit integer.
Bytes(Vec<u8>)
Raw byte payload (e.g. PUSHDATA/PUSHBYTES).
Jump(i8)
Signed 8-bit jump offset.
Jump32(i32)
Signed 32-bit jump offset.
Syscall(u32)
Syscall identifier (little-endian u32).
U8(u8)
Unsigned 8-bit integer.
U16(u16)
Unsigned 16-bit integer.
U32(u32)
Unsigned 32-bit integer.
Bool(bool)
Boolean value.
Null
Null literal.
Trait Implementations§
impl Eq for Operand
impl StructuralPartialEq for Operand
Auto Trait Implementations§
impl Freeze for Operand
impl RefUnwindSafe for Operand
impl Send for Operand
impl Sync for Operand
impl Unpin for Operand
impl UnwindSafe for Operand
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<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.