pub struct VMHandleTableSlot<P: PtrSize>(pub P);Expand description
Offsets of fields within the VMHandleTableSlot type.
Tuple Fields§
§0: PImplementations§
Source§impl<P: PtrSize> VMHandleTableSlot<P>
impl<P: PtrSize> VMHandleTableSlot<P>
Sourcepub fn payload(&self) -> u8
pub fn payload(&self) -> u8
The offset at which every variant of VMHandleTableSlot lays out its fields.
Sourcepub fn resource_own(&self) -> ResourceOwn<&P>
pub fn resource_own(&self) -> ResourceOwn<&P>
Get the offsets of the ResourceOwn variant’s fields.
Sourcepub fn resource_borrow(&self) -> ResourceBorrow<&P>
pub fn resource_borrow(&self) -> ResourceBorrow<&P>
Get the offsets of the ResourceBorrow variant’s fields.
Sourcepub fn guest_task(&self) -> GuestTask<&P>
pub fn guest_task(&self) -> GuestTask<&P>
Get the offsets of the GuestTask variant’s fields.
Sourcepub fn guest_thread(&self) -> GuestThread<&P>
pub fn guest_thread(&self) -> GuestThread<&P>
Get the offsets of the GuestThread variant’s fields.
Sourcepub fn waitable_set(&self) -> WaitableSet<&P>
pub fn waitable_set(&self) -> WaitableSet<&P>
Get the offsets of the WaitableSet variant’s fields.
Sourcepub fn error_context(&self) -> ErrorContext<&P>
pub fn error_context(&self) -> ErrorContext<&P>
Get the offsets of the ErrorContext variant’s fields.
Auto Trait Implementations§
impl<P> Freeze for VMHandleTableSlot<P>where
P: Freeze,
impl<P> RefUnwindSafe for VMHandleTableSlot<P>where
P: RefUnwindSafe,
impl<P> Send for VMHandleTableSlot<P>where
P: Send,
impl<P> Sync for VMHandleTableSlot<P>where
P: Sync,
impl<P> Unpin for VMHandleTableSlot<P>where
P: Unpin,
impl<P> UnsafeUnpin for VMHandleTableSlot<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for VMHandleTableSlot<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