DVUI

format

Parameters

#
self:*const Color
*const Color
writer:*std.Io.Writer
*std.Io.Writer

Source

Implementation

#
pub fn format(self: *const Color, writer: *std.Io.Writer) !void {
    try writer.print("Color{{ {x} {x} {x} {x} }}", .{ self.r, self.g, self.b, self.a });
}