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