Struct uefi_raw::protocol::device_path::DevicePathProtocol
source · #[repr(C)]pub struct DevicePathProtocol {
pub major_type: u8,
pub sub_type: u8,
pub length: [u8; 2],
}
Expand description
Device path protocol.
A device path contains one or more device path instances made of up variable-length nodes.
Note that the fields in this struct define the header at the start of each node; a device path is typically larger than these four bytes.
Fields§
§major_type: u8
§sub_type: u8
§length: [u8; 2]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DevicePathProtocol
impl RefUnwindSafe for DevicePathProtocol
impl Send for DevicePathProtocol
impl Sync for DevicePathProtocol
impl Unpin for DevicePathProtocol
impl UnwindSafe for DevicePathProtocol
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more