Skip to main content

VMDeferredThread

Struct VMDeferredThread 

Source
pub struct VMDeferredThread<P: PtrSize>(pub P);
Expand description

Offsets of fields within the VMDeferredThread type.

Tuple Fields§

§0: P

Implementations§

Source§

impl<P: PtrSize> VMDeferredThread<P>

Source

pub fn parent(&self) -> u8

The offset of the parent field of VMDeferredThread.

Source

pub fn caller_instance(&self) -> u8

The offset of the caller_instance field of VMDeferredThread.

Source

pub fn callee_async(&self) -> u8

The offset of the callee_async field of VMDeferredThread.

Source

pub fn callee_instance(&self) -> u8

The offset of the callee_instance field of VMDeferredThread.

Source

pub fn saved_context(&self) -> u8

The offset of the saved_context field of VMDeferredThread.

Source

pub fn align(&self) -> u8

The alignment of the VMDeferredThread type.

Source

pub fn size(&self) -> u8

The size of the VMDeferredThread type.

Source§

impl<P: PtrSize> VMDeferredThread<P>

Offsets within a VMDeferredThread that are not simply the offset of one of its fields, and so are not generated by for_each_vm_type!.

Source

pub fn saved_context_slot(&self, i: u8) -> u8

The offset of the saved_context[i] slot within a VMDeferredThread.

Auto Trait Implementations§

§

impl<P> Freeze for VMDeferredThread<P>
where P: Freeze,

§

impl<P> RefUnwindSafe for VMDeferredThread<P>
where P: RefUnwindSafe,

§

impl<P> Send for VMDeferredThread<P>
where P: Send,

§

impl<P> Sync for VMDeferredThread<P>
where P: Sync,

§

impl<P> Unpin for VMDeferredThread<P>
where P: Unpin,

§

impl<P> UnsafeUnpin for VMDeferredThread<P>
where P: UnsafeUnpin,

§

impl<P> UnwindSafe for VMDeferredThread<P>
where P: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.