Struct zksync_vm2::FatPointer
source · #[repr(C)]pub struct FatPointer {
pub offset: u32,
pub memory_page: HeapId,
pub start: u32,
pub length: u32,
}
Expand description
Fat pointer to a heap location.
Fields§
§offset: u32
Additional pointer offset inside the start..(start + length)
range.
memory_page: HeapId
ID of the heap this points to.
start: u32
0-based index of the pointer start byte at the memory
page.
length: u32
Length of the pointed slice in bytes.
Implementations§
source§impl FatPointer
impl FatPointer
Trait Implementations§
source§impl Debug for FatPointer
impl Debug for FatPointer
source§impl From<&mut U256> for &mut FatPointer
impl From<&mut U256> for &mut FatPointer
Auto Trait Implementations§
impl Freeze for FatPointer
impl RefUnwindSafe for FatPointer
impl Send for FatPointer
impl Sync for FatPointer
impl Unpin for FatPointer
impl UnwindSafe for FatPointer
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