Enum winch_codegen::TrampolineKind
source · pub enum TrampolineKind {
ArrayToWasm(FuncIndex),
NativeToWasm(FuncIndex),
WasmToNative,
}
Expand description
The supported trampoline kinds. See https://github.com/bytecodealliance/rfcs/blob/main/accepted/tail-calls.md#new-trampolines-and-vmcallercheckedanyfunc-changes for more details.
Variants§
ArrayToWasm(FuncIndex)
Calling from native to Wasm, using the array calling convention.
NativeToWasm(FuncIndex)
Calling from native to Wasm.
WasmToNative
Calling from Wasm to native.
Auto Trait Implementations§
impl Freeze for TrampolineKind
impl RefUnwindSafe for TrampolineKind
impl Send for TrampolineKind
impl Sync for TrampolineKind
impl Unpin for TrampolineKind
impl UnwindSafe for TrampolineKind
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