Struct zksync_vm2_interface::HeapId
source · pub struct HeapId(/* private fields */);
Expand description
Identifier of a VM heap.
EraVM docs sometimes refer to heaps as heap pages; docs in these crate don’t to avoid confusion with internal heap structure.
Implementations§
source§impl HeapId
impl HeapId
sourcepub const FIRST_CALLDATA: Self = _
pub const FIRST_CALLDATA: Self = _
Identifier of the calldata heap used by the first executed program (i.e., the bootloader).
sourcepub const FIRST: Self = _
pub const FIRST: Self = _
Identifier of the heap used by the first executed program (i.e., the bootloader).
Trait Implementations§
impl Copy for HeapId
impl StructuralPartialEq for HeapId
Auto Trait Implementations§
impl Freeze for HeapId
impl RefUnwindSafe for HeapId
impl Send for HeapId
impl Sync for HeapId
impl Unpin for HeapId
impl UnwindSafe for HeapId
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: 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
)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
)