pub struct ResourceOwn<P: PtrSize>(pub VMHandleTableSlot<P>);Expand description
Offsets of fields within the VMHandleTableSlot::ResourceOwn variant.
Tuple Fields§
§0: VMHandleTableSlot<P>Implementations§
Source§impl<P: PtrSize> ResourceOwn<P>
impl<P: PtrSize> ResourceOwn<P>
Sourcepub fn tag_value(&self) -> u32
pub fn tag_value(&self) -> u32
The value of the u32 tag that identifies the ResourceOwn variant.
Sourcepub fn resource(&self) -> u8
pub fn resource(&self) -> u8
The offset of the resource field of VMHandleTableSlot::ResourceOwn.
Sourcepub fn lend_count(&self) -> u8
pub fn lend_count(&self) -> u8
The offset of the lend_count field of VMHandleTableSlot::ResourceOwn.
Auto Trait Implementations§
impl<P> Freeze for ResourceOwn<P>where
VMHandleTableSlot<P>: Freeze,
impl<P> RefUnwindSafe for ResourceOwn<P>where
VMHandleTableSlot<P>: RefUnwindSafe,
impl<P> Send for ResourceOwn<P>where
VMHandleTableSlot<P>: Send,
impl<P> Sync for ResourceOwn<P>where
VMHandleTableSlot<P>: Sync,
impl<P> Unpin for ResourceOwn<P>where
VMHandleTableSlot<P>: Unpin,
impl<P> UnsafeUnpin for ResourceOwn<P>where
VMHandleTableSlot<P>: UnsafeUnpin,
impl<P> UnwindSafe for ResourceOwn<P>where
VMHandleTableSlot<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