structstd.zig.Zir.Inst.Func.RetTy[src]

Fields

body_len: u31

0 means void. 1 means the type is a simple Ref. Otherwise, the length of a trailing body.

is_generic: bool

Whether the return type is generic, i.e. refers to one or more previous parameters.

Source Code

Source code
pub const RetTy = packed struct(u32) {
    /// 0 means `void`.
    /// 1 means the type is a simple `Ref`.
    /// Otherwise, the length of a trailing body.
    body_len: u31,
    /// Whether the return type is generic, i.e. refers to one or more previous parameters.
    is_generic: bool,
}