feat (format): add FormatModifier.fromU64

This commit is contained in:
Jackson Netherwood-Imig
2026-04-15 15:10:17 -07:00
parent c975557376
commit 86baad0c68
+4
View File
@@ -157,6 +157,10 @@ pub const FormatModifier = packed struct(u64) {
raw: u56,
vendor: Vendor,
pub inline fn fromU64(raw: u64) FormatModifier {
return @bitCast(raw);
}
pub inline fn toU64(self: FormatModifier) u64 {
return @bitCast(self);
}