pub unsafe trait WasmAbi { }
Expand description

An unsafe trait which represents types that are ABI-safe to pass via wasm arguments.

This is an unsafe trait to implement as there’s no guarantee the type is actually safe to transfer across the was boundary, it’s up to you to guarantee this so codegen works correctly.

Implementations on Foreign Types§

source§

impl WasmAbi for u32

source§

impl WasmAbi for f64

source§

impl WasmAbi for u64

source§

impl WasmAbi for f32

source§

impl WasmAbi for i32

source§

impl WasmAbi for i64

source§

impl WasmAbi for ()

Implementors§