Struct chrome_remote_interface_model::system_info::GpuDevice[][src]

pub struct GpuDevice { /* fields omitted */ }

Describes a single graphics processor (GPU).

Implementations

impl GpuDevice[src]

pub fn builder() -> GpuDeviceBuilder[src]

pub fn vendor_id(&self) -> f64[src]

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

pub fn device_id(&self) -> f64[src]

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

pub fn sub_sys_id(&self) -> Option<&f64>[src]

Sub sys ID of the GPU, only available on Windows.

pub fn revision(&self) -> Option<&f64>[src]

Revision of the GPU, only available on Windows.

pub fn vendor_string(&self) -> &str[src]

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

pub fn device_string(&self) -> &str[src]

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

pub fn driver_vendor(&self) -> &str[src]

String description of the GPU driver vendor.

pub fn driver_version(&self) -> &str[src]

String description of the GPU driver version.

Trait Implementations

impl Clone for GpuDevice[src]

impl Debug for GpuDevice[src]

impl<'de> Deserialize<'de> for GpuDevice[src]

impl Serialize for GpuDevice[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.