enum Preemption [src]
Fields
dso_preemptable
dso_local
implicit_dso_local
Members
- format (Function)
Source
pub const Preemption = enum {
dso_preemptable,
dso_local,
implicit_dso_local,
pub fn format(self: Preemption, w: *Writer) Writer.Error!void {
if (self == .dso_local) try w.print(" {s}", .{@tagName(self)});
}
}