extern struct BBS101DevicePath [src]

Fields

type: DevicePath.Type
subtype: Subtype
length: u16 align(1)
device_type: u16 align(1)
status_flag: u16 align(1)

Members

Source

pub const BBS101DevicePath = extern struct { type: DevicePath.Type, subtype: Subtype, length: u16 align(1), device_type: u16 align(1), status_flag: u16 align(1), pub fn getDescription(self: *const BBS101DevicePath) [*:0]const u8 { return @as([*:0]const u8, @ptrCast(self)) + @sizeOf(BBS101DevicePath); } }