Struct evm_gasometer::MemoryCost
source · Expand description
Memory cost.
Fields
offset: U256Affected memory offset.
len: U256Affected length.
Implementations
sourceimpl MemoryCost
impl MemoryCost
sourcepub fn join(self, other: MemoryCost) -> MemoryCost
pub fn join(self, other: MemoryCost) -> MemoryCost
Join two memory cost together.
Trait Implementations
sourceimpl Clone for MemoryCost
impl Clone for MemoryCost
sourcefn clone(&self) -> MemoryCost
fn clone(&self) -> MemoryCost
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MemoryCost
impl Debug for MemoryCost
impl Copy for MemoryCost
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more