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
sourceimpl DevicePathInstance
impl DevicePathInstance
sourcepub fn node_iter(&self) -> DevicePathNodeIterator<'_>ⓘNotable traits for DevicePathNodeIterator<'a>impl<'a> Iterator for DevicePathNodeIterator<'a> type Item = &'a DevicePathNode;
pub fn node_iter(&self) -> DevicePathNodeIterator<'_>ⓘNotable traits for DevicePathNodeIterator<'a>impl<'a> Iterator for DevicePathNodeIterator<'a> type Item = &'a DevicePathNode;
Get an iterator over the DevicePathNodes
in this
instance. Iteration ends when any DeviceType::END
node is
reached.
Trait Implementations
sourceimpl Debug for DevicePathInstance
impl Debug for DevicePathInstance
sourceimpl PartialEq<DevicePathInstance> for DevicePathInstance
impl PartialEq<DevicePathInstance> for DevicePathInstance
sourcefn eq(&self, other: &DevicePathInstance) -> bool
fn eq(&self, other: &DevicePathInstance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more