Skip to main content

VMGlobalImport

Struct VMGlobalImport 

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

Offsets of fields within the VMGlobalImport type.

Tuple Fields§

§0: P

Implementations§

Source§

impl<P: PtrSize> VMGlobalImport<P>

Source

pub fn from(&self) -> u8

The offset of the from field of VMGlobalImport.

Source

pub fn vmctx(&self) -> u8

The offset of the vmctx field of VMGlobalImport.

Source

pub fn kind(&self) -> u8

The offset of the kind field of VMGlobalImport.

Source

pub fn align(&self) -> u8

The alignment of the VMGlobalImport type.

Source

pub fn size(&self) -> u8

The size of the VMGlobalImport type.

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<P> UnwindSafe for VMGlobalImport<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.