Struct evm::InstructionInfo [−][src]
pub struct InstructionInfo { pub name: &'static str, pub args: usize, pub ret: usize, pub tier: GasPriceTier, }
EVM instruction information.
Fields
name: &'static str
Mnemonic name.
args: usize
Number of stack arguments.
ret: usize
Number of returned stack items.
tier: GasPriceTier
Gas price tier.
Methods
impl InstructionInfo
[src]
impl InstructionInfo
pub fn new(
name: &'static str,
args: usize,
ret: usize,
tier: GasPriceTier
) -> Self
[src]
pub fn new(
name: &'static str,
args: usize,
ret: usize,
tier: GasPriceTier
) -> Self
Create new instruction info.
Trait Implementations
impl Copy for InstructionInfo
[src]
impl Copy for InstructionInfo
impl Clone for InstructionInfo
[src]
impl Clone for InstructionInfo
fn clone(&self) -> InstructionInfo
[src]
fn clone(&self) -> InstructionInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for InstructionInfo
impl Send for InstructionInfo
impl Sync for InstructionInfo
impl Sync for InstructionInfo