pub struct IntelVtdDeviceScope {
pub devfn: u8,
pub is_bridge: bool,
}Expand description
A single device scope entry for the DMAR table’s DRHD structure.
Identifies a device on the root complex’s start bus by its PCI devfn and scope type.
Fields§
§devfn: u8PCI device/function on the root bus, encoded as (device << 3) | function.
is_bridge: boolWhether this is a PCI bridge (root port, type 0x02) or an endpoint (RCiEP, type 0x01).
Trait Implementations§
Source§impl Clone for IntelVtdDeviceScope
impl Clone for IntelVtdDeviceScope
Source§fn clone(&self) -> IntelVtdDeviceScope
fn clone(&self) -> IntelVtdDeviceScope
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IntelVtdDeviceScope
impl RefUnwindSafe for IntelVtdDeviceScope
impl Send for IntelVtdDeviceScope
impl Sync for IntelVtdDeviceScope
impl Unpin for IntelVtdDeviceScope
impl UnsafeUnpin for IntelVtdDeviceScope
impl UnwindSafe for IntelVtdDeviceScope
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