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

Cast

Public Struct
std.zig.llvm.ir.ModuleBlock.FunctionBlock.Cast
pub const Cast = struct

Fields

val: u32
type_index: Builder.Type
opcode: CastOpcode

Types

Values

File

zig/llvm/ir.zig:1076
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
        pub const Cast = struct {
            const CastOpcode = Builder.CastOpcode;
            pub const ops = [_]AbbrevOp{
                .{ .literal = @backingInt(ModuleBlock.FunctionBlock.Code.INST_CAST) },
                ValueAbbrev,
                .{ .fixed_runtime = Builder.Type },
                .{ .fixed = @bitSizeOf(CastOpcode) },
            };

            val: u32,
            type_index: Builder.Type,
            opcode: CastOpcode,
        }