struct Prefixed [src]

Fields

alignment: Alignment
prefix: []const u8

Members

Source

pub const Prefixed = struct { alignment: Alignment, prefix: []const u8, pub fn format(p: Prefixed, w: *Writer) Writer.Error!void { const byte_units = p.alignment.toByteUnits() orelse return; return w.print("{s}align {d}", .{ p.prefix, byte_units }); } }