pub struct PCI {
pub domain: u32,
pub bus: u32,
pub device: u32,
pub function: u32,
}Expand description
A PCI (Peripheral Component Interconnect) is an architecture used to identify and manage hardware devices.
It is returned by Gpu::pci.
If you want to understand in details what a PCI is, I recommend: https://en.wikipedia.org/wiki/Peripheral_Component_Interconnect.
Fields§
§domain: u32A PCI domain, also called “segment”.
bus: u32A PCI bus.
device: u32A PCI device.
function: u32A PCI function.
Trait Implementations§
impl Eq for PCI
Source§impl Ord for PCI
impl Ord for PCI
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for PCI
impl PartialOrd for PCI
impl StructuralPartialEq for PCI
Auto Trait Implementations§
impl Freeze for PCI
impl RefUnwindSafe for PCI
impl Send for PCI
impl Sync for PCI
impl Unpin for PCI
impl UnsafeUnpin for PCI
impl UnwindSafe for PCI
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