joka.wit
The wit module provides types used in WIT files. Since they are often similar to equivalent Rust types, they may also be useful when interacting with Rust code.
Types 22
aliasWitBool = bool
The WIT bool type.
aliasWitU8 = ubyte
The WIT u8 type.
aliasWitU16 = ushort
The WIT u16 type.
aliasWitU32 = uint
The WIT u32 type.
aliasWitU64 = ulong
The WIT u64 type.
aliasWitS8 = byte
The WIT s8 type.
aliasWitS16 = short
The WIT s16 type.
aliasWitS32 = int
The WIT s32 type.
aliasWitS64 = long
The WIT s64 type.
aliasWitF32 = float
The WIT f32 type.
aliasWitF64 = double
The WIT f64 type.
aliasWitChar = dchar
The WIT char type.
aliasWitCharU8 = char
A helper to avoid using WitU8 for strings.
aliasWitList = ForeignSlice
The WIT list type.
aliastoWit = toForeign
Converts a value to its WIT representation.
aliasWitVariant = Union
The WIT variant type.
aliasWitResource = WitU32
The WIT resource type.