Struct evm_runtime::Opcode
source · pub struct Opcode(pub u8);
Expand description
Opcode enum. One-to-one corresponding to an u8
value.
Tuple Fields§
§0: u8
Implementations§
source§impl Opcode
impl Opcode
sourcepub const SIGNEXTEND: Opcode = _
pub const SIGNEXTEND: Opcode = _
SIGNEXTEND
sourcepub const CALLDATALOAD: Opcode = _
pub const CALLDATALOAD: Opcode = _
CALLDATALOAD
sourcepub const CALLDATASIZE: Opcode = _
pub const CALLDATASIZE: Opcode = _
CALLDATASIZE
sourcepub const CALLDATACOPY: Opcode = _
pub const CALLDATACOPY: Opcode = _
CALLDATACOPY
pub const PUSH1: Opcode = _
pub const PUSH2: Opcode = _
pub const PUSH3: Opcode = _
pub const PUSH4: Opcode = _
pub const PUSH5: Opcode = _
pub const PUSH6: Opcode = _
pub const PUSH7: Opcode = _
pub const PUSH8: Opcode = _
pub const PUSH9: Opcode = _
pub const PUSH10: Opcode = _
pub const PUSH11: Opcode = _
pub const PUSH12: Opcode = _
pub const PUSH13: Opcode = _
pub const PUSH14: Opcode = _
pub const PUSH15: Opcode = _
pub const PUSH16: Opcode = _
pub const PUSH17: Opcode = _
pub const PUSH18: Opcode = _
pub const PUSH19: Opcode = _
pub const PUSH20: Opcode = _
pub const PUSH21: Opcode = _
pub const PUSH22: Opcode = _
pub const PUSH23: Opcode = _
pub const PUSH24: Opcode = _
pub const PUSH25: Opcode = _
pub const PUSH26: Opcode = _
pub const PUSH27: Opcode = _
pub const PUSH28: Opcode = _
pub const PUSH29: Opcode = _
pub const PUSH30: Opcode = _
pub const PUSH31: Opcode = _
pub const PUSH32: Opcode = _
pub const DUP2: Opcode = _
pub const DUP3: Opcode = _
pub const DUP4: Opcode = _
pub const DUP5: Opcode = _
pub const DUP6: Opcode = _
pub const DUP7: Opcode = _
pub const DUP8: Opcode = _
pub const DUP9: Opcode = _
pub const DUP10: Opcode = _
pub const DUP11: Opcode = _
pub const DUP12: Opcode = _
pub const DUP13: Opcode = _
pub const DUP14: Opcode = _
pub const DUP15: Opcode = _
pub const DUP16: Opcode = _
pub const SWAP2: Opcode = _
pub const SWAP3: Opcode = _
pub const SWAP4: Opcode = _
pub const SWAP5: Opcode = _
pub const SWAP6: Opcode = _
pub const SWAP7: Opcode = _
pub const SWAP8: Opcode = _
pub const SWAP9: Opcode = _
pub const SWAP10: Opcode = _
pub const SWAP11: Opcode = _
pub const SWAP12: Opcode = _
pub const SWAP13: Opcode = _
pub const SWAP14: Opcode = _
pub const SWAP15: Opcode = _
pub const SWAP16: Opcode = _
source§impl Opcode
impl Opcode
sourcepub const SELFBALANCE: Opcode = _
pub const SELFBALANCE: Opcode = _
SELFBALANCE
sourcepub const EXTCODESIZE: Opcode = _
pub const EXTCODESIZE: Opcode = _
EXTCODESIZE
sourcepub const EXTCODECOPY: Opcode = _
pub const EXTCODECOPY: Opcode = _
EXTCODECOPY
sourcepub const EXTCODEHASH: Opcode = _
pub const EXTCODEHASH: Opcode = _
EXTCODEHASH
sourcepub const RETURNDATASIZE: Opcode = _
pub const RETURNDATASIZE: Opcode = _
RETURNDATASIZE
sourcepub const RETURNDATACOPY: Opcode = _
pub const RETURNDATACOPY: Opcode = _
RETURNDATACOPY
sourcepub const DIFFICULTY: Opcode = _
pub const DIFFICULTY: Opcode = _
DIFFICULTY
pub const LOG1: Opcode = _
pub const LOG2: Opcode = _
pub const LOG3: Opcode = _
pub const LOG4: Opcode = _
sourcepub const DELEGATECALL: Opcode = _
pub const DELEGATECALL: Opcode = _
DELEGATECALL
sourcepub const STATICCALL: Opcode = _
pub const STATICCALL: Opcode = _
STATICCALL
Trait Implementations§
source§impl PartialEq for Opcode
impl PartialEq for Opcode
impl Copy for Opcode
impl Eq for Opcode
impl StructuralEq for Opcode
impl StructuralPartialEq for Opcode
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§
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