Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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. Public Struct

Attributes

Public Struct
std.os.uefi.protocol.file.File.Attributes
pub const Attributes = packed struct(u64)

Fields

read_only: bool = false

0x0000000000000001

hidden: bool = false

0x0000000000000002

system: bool = false

0x0000000000000004

reserved: bool = false

0x0000000000000008

directory: bool = false

0x0000000000000010

archive: bool = false

0x0000000000000020

_pad: u58 = 0

File

os/uefi/protocol/file.zig:302
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
    pub const Attributes = packed struct(u64) {
        // 0x0000000000000001
        read_only: bool = false,
        // 0x0000000000000002
        hidden: bool = false,
        // 0x0000000000000004
        system: bool = false,
        // 0x0000000000000008
        reserved: bool = false,
        // 0x0000000000000010
        directory: bool = false,
        // 0x0000000000000020
        archive: bool = false,
        _pad: u58 = 0,
    }