Struct cdp::system_info::GpuInfo
[−]
[src]
pub struct GpuInfo<'a> { pub devices: Vec<GpuDevice<'a>>, pub aux_attributes: Option<Empty>, pub feature_status: Option<Empty>, pub driver_bug_workarounds: Vec<Cow<'a, str>>, }
[Experimental] Provides information about the GPU(s) on the system.
Fields
devices: Vec<GpuDevice<'a>>
The graphics devices on the system. Element 0 is the primary GPU.
aux_attributes: Option<Empty>
An optional dictionary of additional GPU related attributes.
feature_status: Option<Empty>
An optional dictionary of graphics features and their status.
driver_bug_workarounds: Vec<Cow<'a, str>>
An optional array of GPU driver bug workarounds.
Trait Implementations
impl<'a> Clone for GpuInfo<'a>
[src]
fn clone(&self) -> GpuInfo<'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