Struct chrome_remote_interface_model::system_info::GpuDeviceBuilder[][src]

pub struct GpuDeviceBuilder { /* fields omitted */ }
This is supported on crate features experimental and SystemInfo only.

Implementations

impl GpuDeviceBuilder[src]

pub fn vendor_id(&mut self, v: f64) -> &mut Self[src]

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

pub fn device_id(&mut self, v: f64) -> &mut Self[src]

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

pub fn sub_sys_id(&mut self, v: f64) -> &mut Self[src]

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

pub fn revision(&mut self, v: f64) -> &mut Self[src]

Revision of the GPU, only available on Windows.

pub fn vendor_string(&mut self, v: String) -> &mut Self[src]

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

pub fn device_string(&mut self, v: String) -> &mut Self[src]

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

pub fn driver_vendor(&mut self, v: String) -> &mut Self[src]

String description of the GPU driver vendor.

pub fn driver_version(&mut self, v: String) -> &mut Self[src]

String description of the GPU driver version.

pub fn build(&mut self) -> Result<GpuDevice, &'static str>[src]

Trait Implementations

impl Clone for GpuDeviceBuilder[src]

impl Debug for GpuDeviceBuilder[src]

impl Default for GpuDeviceBuilder[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> 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.