Module val

Source
Expand description

Typed values for passing into and returning from sandboxed programs.

Structs§

UntypedRetVal
A value returned by a guest function.

Enums§

RegVal
Register representation of Val.
Val
Typed values used for passing arguments into guest functions.

Traits§

UntypedRetValInternal

Functions§

__m128_as_f32
Interpret the contents of a __m128 register as an f32.
__m128_as_f64
Interpret the contents of a __m128 register as an f64.
val_to_reg
Convert a Val to its representation when stored in an argument register.
val_to_stack
Convert a Val to its representation when spilled onto the stack.