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 › device_path › DevicePath › Messaging › Ipv6DevicePath Public Struct Ipv6DevicePath Doc Source Public Struct std.os.uefi.device_path.DevicePath.Messaging.Ipv6DevicePath
pub const Ipv6DevicePath = extern struct Fields type : DevicePath .Type subtype : Subtype length : u16 local_ip_address : uefi .Ipv6Address remote_ip_address : uefi .Ipv6Address local_port : u16 remote_port : u16 protocol : u16 ip_address_origin : Origin prefix_length : u8 gateway_ip_address : uefi .Ipv6Address Types File os/uefi/device_path.zig: 565
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583 pub const Ipv6DevicePath = extern struct {
pub const Origin = enum (u8 ) {
manual = 0 ,
assigned_stateless = 1 ,
assigned_stateful = 2 ,
};
type : DevicePath .Type ,
subtype : Subtype ,
length : u16 align (1 ),
local_ip_address : uefi .Ipv6Address ,
remote_ip_address : uefi .Ipv6Address ,
local_port : u16 align (1 ),
remote_port : u16 align (1 ),
protocol : u16 align (1 ),
ip_address_origin : Origin ,
prefix_length : u8 ,
gateway_ip_address : uefi .Ipv6Address ,
}