DVUI

setSlice

Parameters

#
self:*Data
*Data
gpa:std.mem.Allocator
std.mem.Allocator
key:Key
Key
data:anytype
anytype

Source

Implementation

#
pub fn setSlice(self: *Data, gpa: std.mem.Allocator, key: Key, data: anytype) std.mem.Allocator.Error!void {
    return setSliceCopies(self, gpa, key, data, 1);
}