pub struct VMContext<P: PtrSize>(pub P);Expand description
Offsets of the statically-positioned fields within the VMContext type.
Tuple Fields§
§0: PImplementations§
Source§impl<P: PtrSize> VMContext<P>
impl<P: PtrSize> VMContext<P>
Sourcepub fn store_context(&self) -> u8
pub fn store_context(&self) -> u8
The offset of the store_context field.
Sourcepub fn builtin_functions(&self) -> u8
pub fn builtin_functions(&self) -> u8
The offset of the builtin_functions field.
Sourcepub fn gc_heap_data(&self) -> u8
pub fn gc_heap_data(&self) -> u8
The offset of the gc_heap_data field.
Sourcepub fn end_of_static_fields(&self) -> u8
pub fn end_of_static_fields(&self) -> u8
The offset just past this type’s last statically-positioned field.
Everything after this point is dynamically sized.
Auto Trait Implementations§
impl<P> Freeze for VMContext<P>where
P: Freeze,
impl<P> RefUnwindSafe for VMContext<P>where
P: RefUnwindSafe,
impl<P> Send for VMContext<P>where
P: Send,
impl<P> Sync for VMContext<P>where
P: Sync,
impl<P> Unpin for VMContext<P>where
P: Unpin,
impl<P> UnsafeUnpin for VMContext<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for VMContext<P>where
P: UnwindSafe,
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