DVUI

labelSet

Parameters

#
self:*FieldOptions
*FieldOptions
field_label:[]const u8
[]const u8

Source

Implementation

#
pub fn labelSet(self: *FieldOptions, field_label: []const u8) void {
        switch (self.*) {
            inline else => |*fo| fo.label = field_label,
        }
    }