Function structValue [src]

Prototype

pub fn structValue(self: *Builder, ty: Type, vals: []const Constant) Allocator.Error!Value

Parameters

self: *Builderty: Typevals: []const Constant

Source

pub fn structValue(self: *Builder, ty: Type, vals: []const Constant) Allocator.Error!Value { return (try self.structConst(ty, vals)).toValue(); }