Struct chrome_remote_interface_model::system_info::GpuInfoBuilder [−][src]
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]
&mut self,
v: Vec<VideoDecodeAcceleratorCapability>
) -> &mut Self
Supported accelerated video decoding capabilities.
pub fn video_encoding(
&mut self,
v: Vec<VideoEncodeAcceleratorCapability>
) -> &mut Self
[src]
&mut self,
v: Vec<VideoEncodeAcceleratorCapability>
) -> &mut Self
Supported accelerated video encoding capabilities.
pub fn image_decoding(
&mut self,
v: Vec<ImageDecodeAcceleratorCapability>
) -> &mut Self
[src]
&mut self,
v: Vec<ImageDecodeAcceleratorCapability>
) -> &mut Self
Supported accelerated image decoding capabilities.
pub fn build(&mut self) -> Result<GpuInfo, &'static str>
[src]
Trait Implementations
impl Clone for GpuInfoBuilder
[src]
fn clone(&self) -> GpuInfoBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GpuInfoBuilder
[src]
impl Default for GpuInfoBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for GpuInfoBuilder
[src]
impl Send for GpuInfoBuilder
[src]
impl Sync for GpuInfoBuilder
[src]
impl Unpin for GpuInfoBuilder
[src]
impl UnwindSafe for GpuInfoBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,