Struct zk_evm::aux_structures::MemoryLocation
source · pub struct MemoryLocation {
pub memory_type: MemoryType,
pub page: MemoryPage,
pub index: MemoryIndex,
}
Fields§
§memory_type: MemoryType
§page: MemoryPage
§index: MemoryIndex
Implementations§
source§impl MemoryLocation
impl MemoryLocation
pub const fn add_offset(&self, offset: MemoryOffset) -> Self
Trait Implementations§
source§impl Clone for MemoryLocation
impl Clone for MemoryLocation
source§fn clone(&self) -> MemoryLocation
fn clone(&self) -> MemoryLocation
Returns a copy 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 MemoryLocation
impl Debug for MemoryLocation
source§impl<'de> Deserialize<'de> for MemoryLocation
impl<'de> Deserialize<'de> for MemoryLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for MemoryLocation
impl Hash for MemoryLocation
source§impl Ord for MemoryLocation
impl Ord for MemoryLocation
source§impl PartialEq for MemoryLocation
impl PartialEq for MemoryLocation
source§fn eq(&self, other: &MemoryLocation) -> bool
fn eq(&self, other: &MemoryLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MemoryLocation
impl PartialOrd for MemoryLocation
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MemoryLocation
impl Serialize for MemoryLocation
impl Copy for MemoryLocation
impl Eq for MemoryLocation
impl StructuralPartialEq for MemoryLocation
Auto Trait Implementations§
impl Freeze for MemoryLocation
impl RefUnwindSafe for MemoryLocation
impl Send for MemoryLocation
impl Sync for MemoryLocation
impl Unpin for MemoryLocation
impl UnwindSafe for MemoryLocation
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)