pub struct Adapter {
pub lift_ty: TypeFuncIndex,
pub lift_options: AdapterOptions,
pub lower_ty: TypeFuncIndex,
pub lower_options: AdapterOptions,
pub func: CoreDef,
}
Expand description
Metadata information about a fused adapter.
Fields§
§lift_ty: TypeFuncIndex
The type used when the original core wasm function was lifted.
Note that this could be different than lower_ty
(but still matches
according to subtyping rules).
lift_options: AdapterOptions
Canonical ABI options used when the function was lifted.
lower_ty: TypeFuncIndex
The type used when the function was lowered back into a core wasm function.
Note that this could be different than lift_ty
(but still matches
according to subtyping rules).
lower_options: AdapterOptions
Canonical ABI options used when the function was lowered.
func: CoreDef
The original core wasm function which was lifted.
Trait Implementations§
impl Eq for Adapter
impl StructuralPartialEq for Adapter
Auto Trait Implementations§
impl Freeze for Adapter
impl RefUnwindSafe for Adapter
impl Send for Adapter
impl Sync for Adapter
impl Unpin for Adapter
impl UnwindSafe for Adapter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.