Struct rust_gpu_tools::PciId
source · [−]pub struct PciId(_);Expand description
The PCI-ID is the combination of the PCI Bus ID and PCI Device ID.
It is the first two identifiers of e.g. lcpci:
4e:00.0 VGA compatible controller
|| └└-- Device ID
└└-- Bus IDTrait Implementations
Formats the PCI-ID like lspci, Bus-ID:Device-ID, e.g. e3:00.
Converts a PCI-ID formatted as Bus-ID:Device-ID, e.g. e3:00.
Auto Trait Implementations
impl RefUnwindSafe for PciId
impl UnwindSafe for PciId
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self