enum BaseType [src]
Fields
NULL = 0No type information or unknown base type. Microsoft tools use this setting
VOID = 1No valid type; used with void pointers and functions
CHAR = 2A character (signed byte)
SHORT = 3A 2-byte signed integer
INT = 4A natural integer type (normally 4 bytes in Windows)
LONG = 5A 4-byte signed integer
FLOAT = 6A 4-byte floating-point number
DOUBLE = 7An 8-byte floating-point number
STRUCT = 8A structure
UNION = 9A union
ENUM = 10An enumerated type
MOE = 11A member of enumeration (a specified value)
BYTE = 12A byte; unsigned 1-byte integer
WORD = 13A word; unsigned 2-byte integer
UINT = 14An unsigned integer of natural size (normally, 4 bytes)
DWORD = 15An unsigned 4-byte integer
_
Source
pub const BaseType = enum(u8) {
/// No type information or unknown base type. Microsoft tools use this setting
NULL = 0,
/// No valid type; used with void pointers and functions
VOID = 1,
/// A character (signed byte)
CHAR = 2,
/// A 2-byte signed integer
SHORT = 3,
/// A natural integer type (normally 4 bytes in Windows)
INT = 4,
/// A 4-byte signed integer
LONG = 5,
/// A 4-byte floating-point number
FLOAT = 6,
/// An 8-byte floating-point number
DOUBLE = 7,
/// A structure
STRUCT = 8,
/// A union
UNION = 9,
/// An enumerated type
ENUM = 10,
/// A member of enumeration (a specified value)
MOE = 11,
/// A byte; unsigned 1-byte integer
BYTE = 12,
/// A word; unsigned 2-byte integer
WORD = 13,
/// An unsigned integer of natural size (normally, 4 bytes)
UINT = 14,
/// An unsigned 4-byte integer
DWORD = 15,
_,
}