[][src]Struct wasmer_runtime_core_asml_fork::table::Anyfunc

pub struct Anyfunc<'a> { /* fields omitted */ }

Anyfunc data type.

Implementations

impl<'a> Anyfunc<'a>[src]

pub unsafe fn new<Sig>(func: *const Func, signature: Sig) -> Self where
    Sig: Into<Arc<FuncSig>>, 
[src]

Create a new Anyfunc.

Trait Implementations

impl<'a> From<DynFunc<'a>> for Anyfunc<'a>[src]

impl<'a> TryFrom<Anyfunc<'a>> for DynFunc<'a>[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Anyfunc<'a>

impl<'a> !Send for Anyfunc<'a>

impl<'a> !Sync for Anyfunc<'a>

impl<'a> Unpin for Anyfunc<'a>

impl<'a> !UnwindSafe for Anyfunc<'a>

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<'a, F> StorableInTable for F where
    F: Into<Anyfunc<'a>> + TryFrom<Anyfunc<'a>>, 
[src]

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.