Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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 standard library. Public Struct

ALLOCATION

Public Struct
std.os.windows.HEAP.FLAGS.ALLOCATION
pub const ALLOCATION = packed struct(ULONG)

Fields

COMMON: FLAGS = .{}
SETTABLE_USER: packed struct(u4) { VALUE: u1 = 0, FLAGS: packed struct(u3) { FLAG1: bool = false, FLAG2: bool = false, FLAG3: bool = false, } = .{}, } = .{}
CLASS: CLASS = @fromBackingInt(@intCast(0))
Reserved16: u2 = 0
TAG: u12 = 0
Reserved30: u2 = 0

File

os/windows.zig:2028
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
        pub const ALLOCATION = packed struct(ULONG) {
            COMMON: FLAGS = .{},
            SETTABLE_USER: packed struct(u4) {
                VALUE: u1 = 0,
                FLAGS: packed struct(u3) {
                    FLAG1: bool = false,
                    FLAG2: bool = false,
                    FLAG3: bool = false,
                } = .{},
            } = .{},
            CLASS: CLASS = @fromBackingInt(@intCast(0)),
            Reserved16: u2 = 0,
            TAG: u12 = 0,
            Reserved30: u2 = 0,
        }