Function initAligned [src]
Prototype
pub fn initAligned(allocator: Allocator, alignment: std.mem.Alignment) Allocating Parameters
allocator: Allocatoralignment: std.mem.Alignment Source
pub fn initAligned(allocator: Allocator, alignment: std.mem.Alignment) Allocating {
return .{
.allocator = allocator,
.writer = .{
.buffer = &.{},
.vtable = &vtable,
},
.alignment = alignment,
};
}