pub struct AcpiPciId {
pub segment: u16,
pub bus: u16,
pub device: u16,
pub function: u16,
}
Expand description
A PCI device, identified by its segment:bus:device:function
address.
Fields§
§segment: u16
The PCI segment which the device is accessible through
bus: u16
The PCI bus number
device: u16
The device number on the PCI bus
function: u16
The function number of the device
Trait Implementations§
impl Copy for AcpiPciId
impl Eq for AcpiPciId
impl StructuralPartialEq for AcpiPciId
Auto Trait Implementations§
impl Freeze for AcpiPciId
impl RefUnwindSafe for AcpiPciId
impl Send for AcpiPciId
impl Sync for AcpiPciId
impl Unpin for AcpiPciId
impl UnwindSafe for AcpiPciId
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