[][src]Struct wasmer_runtime_core_fl::vm::Anyfunc

#[repr(C)]pub struct Anyfunc {
    pub func: *const Func,
    pub ctx: *mut Ctx,
    pub sig_id: SigId,
}

Caller-checked anyfunc

Fields

func: *const Func

Const pointer to Func.

ctx: *mut Ctx

Mutable pointer to Ctx.

sig_id: SigId

Sig id of this function

Implementations

impl Anyfunc[src]

pub const fn null() -> Self[src]

A null Anyfunc value.

pub const fn offset_func() -> u8[src]

Offset to the func field.

pub const fn offset_vmctx() -> u8[src]

Offset to the vmctx field..

pub const fn offset_sig_id() -> u8[src]

Offset to the sig_id field.

pub const fn size() -> u8[src]

The size of Anyfunc.

Trait Implementations

impl Clone for Anyfunc[src]

impl Copy for Anyfunc[src]

impl Debug for Anyfunc[src]

impl Send for Anyfunc[src]

Auto Trait Implementations

impl !RefUnwindSafe for Anyfunc

impl !Sync for Anyfunc

impl Unpin for Anyfunc

impl !UnwindSafe for Anyfunc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.