pub fn ty(&self, store: impl AsContext) -> FuncType {
        // Signatures should always be registered in the engine's registry of
        // shared signatures, so we should be able to unwrap safely here.
        let store = store.as_context();
        let sig_index = unsafe { store[self.0].export().anyfunc.as_ref().type_index };
        FuncType::from_wasm_func_type(
            store
                .engine()
                .signatures()
                .lookup_type(sig_index)
                .expect("signature should be registered"),
        )
    }
/// Returns the underlying wasm type that this `Func` has.
///
/// # Panics
///
/// Panics if `store` does not own this function.
Returns the underlying wasm type that this `Func` has.
Returns the underlying wasm type that this ` Func ` has .
pub fn ty(&self, store: impl AsContext) -> FuncType {
        // Signatures should always be registered in the engine's registry of
        // shared signatures, so we should be able to unwrap safely here.
        let store = store.as_context();
        let sig_index = unsafe { store[self.0].export().anyfunc.as_ref().type_index };
        FuncType::from_wasm_func_type(
            store
                .engine()
                .signatures()
                .lookup_type(sig_index)
                .expect("signature should be registered"),
        )
    }
pub fn ty ( & self , store : impl AsContext ) -> FuncType { // Signatures should always be registered in the engine's registry of // shared signatures, so we should be able to unwrap safely here. let store = store . as_context ( ) ; let sig_index = unsafe { store [ self . 0 ] . export ( ) . anyfunc . as_ref ( ) . type_index } ; FuncType :: from_wasm_func_type ( store . engine ( ) . signatures ( ) . lookup_type ( sig_index ) . expect ( " " ) , ) }
Returns the underlying wasm type that this `Func` has.
Returns the underlying wasm type that this ` Func ` has .
&self
store
impl AsContext
&self
store
impl AsContext
panics
Panics if `store` does not own this function.
Panics if ` store ` does not own this function .