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.ConstantsBlock.Cast
pub const Cast = struct

Fields

opcode: CastOpcode
type_index: Builder.Type
val: Builder.Constant

Types

Values

File

zig/llvm/ir.zig:554
554
555
556
557
558
559
560
561
562
563
564
565
566
        pub const Cast = struct {
            const CastOpcode = Builder.CastOpcode;
            pub const ops = [_]AbbrevOp{
                .{ .literal = @backingInt(ModuleBlock.ConstantsBlock.Code.CE_CAST) },
                .{ .fixed = @bitSizeOf(CastOpcode) },
                .{ .fixed_runtime = Builder.Type },
                ConstantAbbrev,
            };

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