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 InstructionInfopub 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
) -> SelfCreate new instruction info.
Trait Implementations
impl Copy for InstructionInfo[src]
impl Copy for InstructionInfoimpl Clone for InstructionInfo[src]
impl Clone for InstructionInfofn clone(&self) -> InstructionInfo[src]
fn clone(&self) -> InstructionInfoReturns 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 InstructionInfoimpl Sync for InstructionInfo
impl Sync for InstructionInfo