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 › os › uefi › protocol › simple_text_input_ex › SimpleTextInputEx › Key › State › Shift Public Struct Shift Doc Source Public Struct std.os.uefi.protocol.simple_text_input_ex.SimpleTextInputEx.Key.State.Shift
pub const Shift = packed struct (u32 ) Fields right_shift_pressed : bool left_shift_pressed : bool right_control_pressed : bool left_control_pressed : bool right_alt_pressed : bool left_alt_pressed : bool right_logo_pressed : bool left_logo_pressed : bool menu_key_pressed : bool sys_req_pressed : bool _pad : u21 = 0 shift_state_valid : bool File os/uefi/protocol/simple_text_input_ex.zig: 104
104
105
106
107
108
109
110
111
112
113
114
115
116
117 pub const Shift = packed struct (u32 ) {
right_shift_pressed : bool ,
left_shift_pressed : bool ,
right_control_pressed : bool ,
left_control_pressed : bool ,
right_alt_pressed : bool ,
left_alt_pressed : bool ,
right_logo_pressed : bool ,
left_logo_pressed : bool ,
menu_key_pressed : bool ,
sys_req_pressed : bool ,
_pad : u21 = 0 ,
shift_state_valid : bool ,
}