pub struct MemoryCost {
pub offset: U256,
pub len: U256,
}Expand description
Memory cost.
Fields§
§offset: U256Affected memory offset.
len: U256Affected length.
Implementations§
Source§impl MemoryCost
impl MemoryCost
Sourcepub fn join(self, other: MemoryCost) -> MemoryCost
pub fn join(self, other: MemoryCost) -> MemoryCost
Join two memory cost together.
Trait Implementations§
Source§impl Clone for MemoryCost
impl Clone for MemoryCost
Source§fn clone(&self) -> MemoryCost
fn clone(&self) -> MemoryCost
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryCost
impl Debug for MemoryCost
impl Copy for MemoryCost
Auto Trait Implementations§
impl Freeze for MemoryCost
impl RefUnwindSafe for MemoryCost
impl Send for MemoryCost
impl Sync for MemoryCost
impl Unpin for MemoryCost
impl UnwindSafe for MemoryCost
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more