#[repr(C)]pub struct DevicePathProtocol {
pub major_type: DeviceType,
pub sub_type: DeviceSubType,
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: DeviceType
§sub_type: DeviceSubType
§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