Struct uefi::proto::device_path::DevicePathInstance
source · #[repr(C, packed)]pub struct DevicePathInstance { /* private fields */ }
Expand description
A single device path instance that ends with either an END_INSTANCE
or END_ENTIRE
node. Use DevicePath::instance_iter
to get the
path instances in a DevicePath
.
See the module-level documentation for more details.
Implementations§
source§impl DevicePathInstance
impl DevicePathInstance
sourcepub const fn node_iter(&self) -> DevicePathNodeIterator<'_> ⓘ
pub const fn node_iter(&self) -> DevicePathNodeIterator<'_> ⓘ
Get an iterator over the DevicePathNodes
in this
instance. Iteration ends when any DeviceType::END
node is
reached.