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

PCI ID of the GPU vendor, if available; 0 otherwise.

PCI ID of the GPU device, if available; 0 otherwise.

String description of the GPU vendor, if the PCI ID is not available.

String description of the GPU device, if the PCI ID is not available.

Trait Implementations

impl<'a> Clone for GpuDevice<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for GpuDevice<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for GpuDevice<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.