Struct evm_runtime::Opcode [−][src]
Opcode enum. One-to-one corresponding to an u8
value.
Implementations
impl Opcode
[src]
pub const STOP: Opcode
[src]
STOP
pub const ADD: Opcode
[src]
ADD
pub const MUL: Opcode
[src]
MUL
pub const SUB: Opcode
[src]
SUB
pub const DIV: Opcode
[src]
DIV
pub const SDIV: Opcode
[src]
SDIV
pub const MOD: Opcode
[src]
MOD
pub const SMOD: Opcode
[src]
SMOD
pub const ADDMOD: Opcode
[src]
ADDMOD
pub const MULMOD: Opcode
[src]
MULMOD
pub const EXP: Opcode
[src]
EXP
pub const SIGNEXTEND: Opcode
[src]
SIGNEXTEND
pub const LT: Opcode
[src]
LT
pub const GT: Opcode
[src]
GT
pub const SLT: Opcode
[src]
SLT
pub const SGT: Opcode
[src]
SGT
pub const EQ: Opcode
[src]
EQ
pub const ISZERO: Opcode
[src]
ISZERO
pub const AND: Opcode
[src]
AND
pub const OR: Opcode
[src]
OR
pub const XOR: Opcode
[src]
XOR
pub const NOT: Opcode
[src]
NOT
pub const BYTE: Opcode
[src]
BYTE
pub const CALLDATALOAD: Opcode
[src]
CALLDATALOAD
pub const CALLDATASIZE: Opcode
[src]
CALLDATASIZE
pub const CALLDATACOPY: Opcode
[src]
CALLDATACOPY
pub const CODESIZE: Opcode
[src]
CODESIZE
pub const CODECOPY: Opcode
[src]
CODECOPY
pub const SHL: Opcode
[src]
SHL
pub const SHR: Opcode
[src]
SHR
pub const SAR: Opcode
[src]
SAR
pub const POP: Opcode
[src]
POP
pub const MLOAD: Opcode
[src]
MLOAD
pub const MSTORE: Opcode
[src]
MSTORE
pub const MSTORE8: Opcode
[src]
MSTORE8
pub const JUMP: Opcode
[src]
JUMP
pub const JUMPI: Opcode
[src]
JUMPI
pub const PC: Opcode
[src]
PC
pub const MSIZE: Opcode
[src]
MSIZE
pub const JUMPDEST: Opcode
[src]
JUMPDEST
pub const PUSH1: Opcode
[src]
PUSHn
pub const PUSH2: Opcode
[src]
pub const PUSH3: Opcode
[src]
pub const PUSH4: Opcode
[src]
pub const PUSH5: Opcode
[src]
pub const PUSH6: Opcode
[src]
pub const PUSH7: Opcode
[src]
pub const PUSH8: Opcode
[src]
pub const PUSH9: Opcode
[src]
pub const PUSH10: Opcode
[src]
pub const PUSH11: Opcode
[src]
pub const PUSH12: Opcode
[src]
pub const PUSH13: Opcode
[src]
pub const PUSH14: Opcode
[src]
pub const PUSH15: Opcode
[src]
pub const PUSH16: Opcode
[src]
pub const PUSH17: Opcode
[src]
pub const PUSH18: Opcode
[src]
pub const PUSH19: Opcode
[src]
pub const PUSH20: Opcode
[src]
pub const PUSH21: Opcode
[src]
pub const PUSH22: Opcode
[src]
pub const PUSH23: Opcode
[src]
pub const PUSH24: Opcode
[src]
pub const PUSH25: Opcode
[src]
pub const PUSH26: Opcode
[src]
pub const PUSH27: Opcode
[src]
pub const PUSH28: Opcode
[src]
pub const PUSH29: Opcode
[src]
pub const PUSH30: Opcode
[src]
pub const PUSH31: Opcode
[src]
pub const PUSH32: Opcode
[src]
pub const DUP1: Opcode
[src]
DUPn
pub const DUP2: Opcode
[src]
pub const DUP3: Opcode
[src]
pub const DUP4: Opcode
[src]
pub const DUP5: Opcode
[src]
pub const DUP6: Opcode
[src]
pub const DUP7: Opcode
[src]
pub const DUP8: Opcode
[src]
pub const DUP9: Opcode
[src]
pub const DUP10: Opcode
[src]
pub const DUP11: Opcode
[src]
pub const DUP12: Opcode
[src]
pub const DUP13: Opcode
[src]
pub const DUP14: Opcode
[src]
pub const DUP15: Opcode
[src]
pub const DUP16: Opcode
[src]
pub const SWAP1: Opcode
[src]
SWAPn
pub const SWAP2: Opcode
[src]
pub const SWAP3: Opcode
[src]
pub const SWAP4: Opcode
[src]
pub const SWAP5: Opcode
[src]
pub const SWAP6: Opcode
[src]
pub const SWAP7: Opcode
[src]
pub const SWAP8: Opcode
[src]
pub const SWAP9: Opcode
[src]
pub const SWAP10: Opcode
[src]
pub const SWAP11: Opcode
[src]
pub const SWAP12: Opcode
[src]
pub const SWAP13: Opcode
[src]
pub const SWAP14: Opcode
[src]
pub const SWAP15: Opcode
[src]
pub const SWAP16: Opcode
[src]
pub const RETURN: Opcode
[src]
RETURN
pub const REVERT: Opcode
[src]
REVERT
pub const INVALID: Opcode
[src]
INVALID
impl Opcode
[src]
pub const SHA3: Opcode
[src]
SHA3
pub const ADDRESS: Opcode
[src]
ADDRESS
pub const BALANCE: Opcode
[src]
BALANCE
pub const SELFBALANCE: Opcode
[src]
SELFBALANCE
pub const ORIGIN: Opcode
[src]
ORIGIN
pub const CALLER: Opcode
[src]
CALLER
pub const CALLVALUE: Opcode
[src]
CALLVALUE
pub const GASPRICE: Opcode
[src]
GASPRICE
pub const EXTCODESIZE: Opcode
[src]
EXTCODESIZE
pub const EXTCODECOPY: Opcode
[src]
EXTCODECOPY
pub const EXTCODEHASH: Opcode
[src]
EXTCODEHASH
pub const RETURNDATASIZE: Opcode
[src]
RETURNDATASIZE
pub const RETURNDATACOPY: Opcode
[src]
RETURNDATACOPY
pub const BLOCKHASH: Opcode
[src]
BLOCKHASH
pub const COINBASE: Opcode
[src]
COINBASE
pub const TIMESTAMP: Opcode
[src]
TIMESTAMP
pub const NUMBER: Opcode
[src]
NUMBER
pub const DIFFICULTY: Opcode
[src]
DIFFICULTY
pub const GASLIMIT: Opcode
[src]
GASLIMIT
pub const SLOAD: Opcode
[src]
SLOAD
pub const SSTORE: Opcode
[src]
SSTORE
pub const GAS: Opcode
[src]
GAS
pub const LOG0: Opcode
[src]
LOGn
pub const LOG1: Opcode
[src]
pub const LOG2: Opcode
[src]
pub const LOG3: Opcode
[src]
pub const LOG4: Opcode
[src]
pub const CREATE: Opcode
[src]
CREATE
pub const CREATE2: Opcode
[src]
CREATE2
pub const CALL: Opcode
[src]
CALL
pub const CALLCODE: Opcode
[src]
CALLCODE
pub const DELEGATECALL: Opcode
[src]
DELEGATECALL
pub const STATICCALL: Opcode
[src]
STATICCALL
pub const SUICIDE: Opcode
[src]
SUICIDE
pub const CHAINID: Opcode
[src]
CHAINID
impl Opcode
[src]
pub fn is_push(&self) -> Option<u8>
[src]
Whether the opcode is a push opcode.
pub const fn as_u8(&self) -> u8
[src]
pub const fn as_usize(&self) -> usize
[src]
Trait Implementations
impl Clone for Opcode
[src]
impl Copy for Opcode
[src]
impl Debug for Opcode
[src]
impl Eq for Opcode
[src]
impl PartialEq<Opcode> for Opcode
[src]
impl StructuralEq for Opcode
[src]
impl StructuralPartialEq for Opcode
[src]
Auto Trait Implementations
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,