pub trait RIType: Sized {
type FFIType: IntoValue + TryFromValue + WasmTy;
type Inner;
}
Expand description
Something that can be used by the runtime interface as type to communicate between the runtime and the host.
Every type that should be used in a runtime interface function signature needs to implement this trait.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.