Struct evm_gasometer::MemoryCost[][src]

pub struct MemoryCost {
    pub offset: U256,
    pub len: U256,
}

Memory cost.

Fields

offset: U256

Affected memory offset.

len: U256

Affected length.

Implementations

impl MemoryCost[src]

pub fn join(self, other: MemoryCost) -> MemoryCost[src]

Join two memory cost together.

Trait Implementations

impl Clone for MemoryCost[src]

impl Copy for MemoryCost[src]

impl Debug for MemoryCost[src]

Auto Trait Implementations

impl RefUnwindSafe for MemoryCost

impl Send for MemoryCost

impl Sync for MemoryCost

impl Unpin for MemoryCost

impl UnwindSafe for MemoryCost

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]