pub struct VMComponentContext<P: PtrSize>(pub P);Expand description
Offsets of the statically-positioned fields within the VMComponentContext type.
Tuple Fields§
§0: PImplementations§
Source§impl<P: PtrSize> VMComponentContext<P>
impl<P: PtrSize> VMComponentContext<P>
Sourcepub fn store_context(&self) -> u8
pub fn store_context(&self) -> u8
The offset of the store_context 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 VMComponentContext<P>where
P: Freeze,
impl<P> RefUnwindSafe for VMComponentContext<P>where
P: RefUnwindSafe,
impl<P> Send for VMComponentContext<P>where
P: Send,
impl<P> Sync for VMComponentContext<P>where
P: Sync,
impl<P> Unpin for VMComponentContext<P>where
P: Unpin,
impl<P> UnsafeUnpin for VMComponentContext<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for VMComponentContext<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