Struct uefi::proto::device_path::DevicePathInstance
source · #[repr(C, packed(1))]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.
Trait Implementations§
source§impl Debug for DevicePathInstance
impl Debug for DevicePathInstance
source§impl PartialEq for DevicePathInstance
impl PartialEq for DevicePathInstance
source§impl Pointee for DevicePathInstance
impl Pointee for DevicePathInstance
source§impl ToOwned for DevicePathInstance
Available on crate feature alloc
only.
impl ToOwned for DevicePathInstance
Available on crate feature
alloc
only.§type Owned = Box<DevicePathInstance>
type Owned = Box<DevicePathInstance>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more