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

SrcLocs

Public Struct
std.zig.Zir.Inst.Func.SrcLocs
pub const SrcLocs = struct

Fields

lbrace_line: u32

Line index in the source file relative to the parent decl.

rbrace_line: u32

Line index in the source file relative to the parent decl.

columns: u32

lbrace_column is least significant bits u16 rbrace_column is most significant bits u16

File

zig/Zir.zig:2630
2630
2631
2632
2633
2634
2635
2636
2637
2638
        pub const SrcLocs = struct {
            /// Line index in the source file relative to the parent decl.
            lbrace_line: u32,
            /// Line index in the source file relative to the parent decl.
            rbrace_line: u32,
            /// lbrace_column is least significant bits u16
            /// rbrace_column is most significant bits u16
            columns: u32,
        }