Function format [src]

Prototype

pub fn format( self: Preemption, comptime _: []const u8, _: std.fmt.FormatOptions, writer: anytype, ) @TypeOf(writer).Error!void

Parameters

self: Preemption_: []const u8_: std.fmt.FormatOptions

Source

pub fn format( self: Preemption, comptime _: []const u8, _: std.fmt.FormatOptions, writer: anytype, ) @TypeOf(writer).Error!void { if (self == .dso_local) try writer.print(" {s}", .{@tagName(self)}); }