Struct esvm::Gas [] [src]

pub struct Gas(_);

Represent an Ethereum gas.

Methods

impl Gas
[src]

Zero gas.

Bits needed to represent this value.

Trait Implementations

impl Eq for Gas
[src]

impl PartialEq for Gas
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Gas
[src]

Formats the value using the given formatter.

impl Copy for Gas
[src]

impl Clone for Gas
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Gas
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Default for Gas
[src]

Returns the "default value" for a type. Read more

impl FromStr for Gas
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl From<u64> for Gas
[src]

Performs the conversion.

impl Into<u64> for Gas
[src]

Performs the conversion.

impl From<usize> for Gas
[src]

Performs the conversion.

impl Into<U256> for Gas
[src]

Performs the conversion.

impl From<U256> for Gas
[src]

Performs the conversion.

impl From<M256> for Gas
[src]

Performs the conversion.

impl Into<M256> for Gas
[src]

Performs the conversion.

impl Ord for Gas
[src]

This method returns an Ordering between self and other. Read more

impl PartialOrd for Gas
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Add<Gas> for Gas
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub<Gas> for Gas
[src]

The resulting type after applying the - operator

The method for the - operator

impl Mul<Gas> for Gas
[src]

The resulting type after applying the * operator

The method for the * operator

impl Div for Gas
[src]

The resulting type after applying the / operator

The method for the / operator

impl Rem for Gas
[src]

The resulting type after applying the % operator

The method for the % operator

impl LowerHex for Gas
[src]

Formats the value using the given formatter.

impl UpperHex for Gas
[src]

Formats the value using the given formatter.