Struct rust_gpu_tools::opencl::PciId [−][src]
pub struct PciId(_);
Expand description
It is the first two identifiers of e.g. lspci
:
4e:00.0 VGA compatible controller
|| └└-- Device ID
└└-- Bus ID
Trait 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