Struct cdp::system_info::GpuDevice
[−]
[src]
pub struct GpuDevice<'a> {
pub vendor_id: f64,
pub device_id: f64,
pub vendor_string: Cow<'a, str>,
pub device_string: Cow<'a, str>,
}[Experimental] Describes a single graphics processor (GPU).
Fields
vendor_id: f64
PCI ID of the GPU vendor, if available; 0 otherwise.
device_id: f64
PCI ID of the GPU device, if available; 0 otherwise.
vendor_string: Cow<'a, str>
String description of the GPU vendor, if the PCI ID is not available.
device_string: Cow<'a, str>
String description of the GPU device, if the PCI ID is not available.
Trait Implementations
impl<'a> Clone for GpuDevice<'a>[src]
fn clone(&self) -> GpuDevice<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more