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: u32Additional pointer offset inside the start..(start + length) range.
memory_page: HeapIdID of the heap this points to.
start: u320-based index of the pointer start byte at the memory page.
length: u32Length 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