Zig 0.17.0-dev (Split by item) This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig standard library.
std › elf › EhdrFlags › Sparc Public Struct Sparc Doc Source Public Struct std.elf.EhdrFlags.Sparc
pub const Sparc = packed struct (u32 ) Fields Structs Types File elf.zig: 3375
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403 pub const Sparc = packed struct (u32 ) {
mm : MemoryModel ,
_reserved1 : u6 = 0 ,
ext : Extensions ,
_reserved2 : u8 = 0 ,
pub const MemoryModel = enum (u2 ) {
/// Total Store Ordering
tso = 0 ,
/// Partial Store Ordering
pso = 1 ,
/// Relaxed Memory Ordering
rmo = 2 ,
};
pub const Extensions = packed struct (u16 ) {
/// Uses SPARC v8 ABI (w/ 32-bit pointers) on SPARC v9. Also known as v8+.
@"32plus" : bool ,
/// Uses Sun UltraSPARC extensions.
sun_us1 : bool ,
/// Uses HaL R1 extensions.
hal_r1 : bool ,
/// Uses Sun UltraSPARC III extensions.
sun_us3 : bool ,
_reserved : u11 = 0 ,
/// Uses little endian data (SPARC v9+).
le_data : bool ,
};
}