Struct chrome_remote_interface_model::system_info::GpuInfoBuilder[][src]

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

Implementations

impl GpuInfoBuilder[src]

pub fn devices(&mut self, v: Vec<GpuDevice>) -> &mut Self[src]

The graphics devices on the system. Element 0 is the primary GPU.

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

An optional dictionary of additional GPU related attributes.

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

An optional dictionary of graphics features and their status.

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

An optional array of GPU driver bug workarounds.

pub fn video_decoding(
    &mut self,
    v: Vec<VideoDecodeAcceleratorCapability>
) -> &mut Self
[src]

Supported accelerated video decoding capabilities.

pub fn video_encoding(
    &mut self,
    v: Vec<VideoEncodeAcceleratorCapability>
) -> &mut Self
[src]

Supported accelerated video encoding capabilities.

pub fn image_decoding(
    &mut self,
    v: Vec<ImageDecodeAcceleratorCapability>
) -> &mut Self
[src]

Supported accelerated image decoding capabilities.

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

Trait Implementations

impl Clone for GpuInfoBuilder[src]

impl Debug for GpuInfoBuilder[src]

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