Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

Valtype

Enum representing all Wasm value types as per spec: https://webassembly.github.io/spec/core/binary/types.html

wasm.Valtype
pub const Valtype = enum(u8)

File

lib/std/wasm.zig:562

Code

pub const Valtype = enum(u8) {
    i32 = 0x7F,
    i64 = 0x7E,
    f32 = 0x7D,
    f64 = 0x7C,
    v128 = 0x7B,
}