Enum ethjson::spec::builtin::Pricing [−][src]
pub enum Pricing {
Linear(Linear),
Modexp(Modexp),
AltBn128Pairing(AltBn128Pairing),
}Pricing variants.
Variants
Linear(Linear)Linear pricing.
Modexp(Modexp)Pricing for modular exponentiation.
AltBn128Pairing(AltBn128Pairing)Pricing for alt_bn128_pairing exponentiation.
Trait Implementations
impl Debug for Pricing[src]
impl Debug for Pricingfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Pricing[src]
impl PartialEq for Pricingfn eq(&self, other: &Pricing) -> bool[src]
fn eq(&self, other: &Pricing) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Pricing) -> bool[src]
fn ne(&self, other: &Pricing) -> boolThis method tests for !=.
impl Clone for Pricing[src]
impl Clone for Pricing