Struct ethjson::spec::builtin::Modexp [−][src]
pub struct Modexp { pub divisor: usize, }
Pricing for modular exponentiation.
Fields
divisor: usize
Price divisor.
Trait Implementations
impl Debug for Modexp
[src]
impl Debug for Modexp
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Modexp
[src]
impl PartialEq for Modexp
fn eq(&self, other: &Modexp) -> bool
[src]
fn eq(&self, other: &Modexp) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Modexp) -> bool
[src]
fn ne(&self, other: &Modexp) -> bool
This method tests for !=
.
impl Clone for Modexp
[src]
impl Clone for Modexp