@byteOffsetOf
@byteOffsetOf
@byteOffsetOf(comptime T: type, comptime field_name: []const u8) comptime_int
Returns the byte offset of a field relative to its containing struct.
See also:
- @bitOffsetOf
@byteOffsetOf(comptime T: type, comptime field_name: []const u8) comptime_int
Returns the byte offset of a field relative to its containing struct.
See also:
本文档使用 WanXiangYunDang 构建