Struct uefi::proto::device_path::DevicePath [−][src]
#[repr(C, packed)]pub struct DevicePath { /* fields omitted */ }
Expand description
Device path protocol.
This can be opened on a LoadedImage.device()
handle using the HandleProtocol
boot service.
Implementations
Type of device
Sub type of device
Size (in bytes) of the full DevicePath
instance, including the header.
True if this node ends the entire path.
pub fn iter(&self) -> DevicePathIterator<'_>ⓘNotable traits for DevicePathIterator<'a>impl<'a> Iterator for DevicePathIterator<'a> type Item = &'a DevicePath;
pub fn iter(&self) -> DevicePathIterator<'_>ⓘNotable traits for DevicePathIterator<'a>impl<'a> Iterator for DevicePathIterator<'a> type Item = &'a DevicePath;
Notable traits for DevicePathIterator<'a>
impl<'a> Iterator for DevicePathIterator<'a> type Item = &'a DevicePath;
Get an iterator over the DevicePath
nodes starting at
self
. Iteration ends when a path is reached where
is_end_entire
is true. That ending path
is not returned by the iterator.