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 › Progress › Serialized Private Struct Serialized Doc Source Private Struct std.Progress.Serialized
const Serialized = struct Fields Structs File Progress.zig: 1006
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029 const Serialized = struct {
parents : []Node .Parent ,
storage : []Node .Storage ,
const Buffer = struct {
parents : [node_storage_buffer_len ]Node .Parent ,
storage : [node_storage_buffer_len ]Node .Storage ,
ipc_start : u8 ,
ipc_end : u8 ,
ipc_data : [ipc_storage_buffer_len ]Ipc .Data ,
ipc_buffers : [ipc_storage_buffer_len ][max_packet_len ]u8 ,
ipc_vecs : [ipc_storage_buffer_len ][1 ][]u8 ,
batch_storage : [ipc_storage_buffer_len ]Io .Operation .Storage ,
batch : Io .Batch ,
fn init (buffer : *Buffer ) void {
buffer .ipc_start = 0 ;
buffer .ipc_end = 0 ;
@memset (&buffer .ipc_data , .unused );
buffer .batch = .init (&buffer .batch_storage );
}
};
}