fn initBits(comptime T: type, out: anytype, num: u16) Bits(T) T: typeoutnum: u161785
1786
1787
1788
1789
1790
1791 fn initBits(comptime T: type, out: anytype, num: u16) Bits(T) {
const UT = @Int(.unsigned, @bitSizeOf(T));
return .{
@bitCast(@as(UT, @intCast(out))),
num,
};
}