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

StepUpdate

Public Struct
std.Build.abi.StepUpdate
pub const StepUpdate = extern struct

WebSocket server->client.

Indicates a change in a step's status.

Fields

tag: ToClientTag = .step_update
step_idx: u32
bits: packed struct(u8) { status: Status, _: u6 = 0, }

Types

File

Build/abi.zig:120
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
pub const StepUpdate = extern struct {
    tag: ToClientTag = .step_update,
    step_idx: u32 align(1),
    bits: packed struct(u8) {
        status: Status,
        _: u6 = 0,
    },
    /// Keep in sync with indices in web UI `main.js:updateStepStatus`.
    pub const Status = enum(u2) {
        pending,
        wip,
        success,
        failure,
    };
}