Struct chromiumoxide::cdp::browser_protocol::system_info::GpuInfo
source · pub struct GpuInfo {
pub devices: Vec<GpuDevice>,
pub aux_attributes: Option<Value>,
pub feature_status: Option<Value>,
pub driver_bug_workarounds: Vec<String>,
pub video_decoding: Vec<VideoDecodeAcceleratorCapability>,
pub video_encoding: Vec<VideoEncodeAcceleratorCapability>,
pub image_decoding: Vec<ImageDecodeAcceleratorCapability>,
}
Expand description
Provides information about the GPU(s) on the system. GPUInfo
Fields§
§devices: Vec<GpuDevice>
The graphics devices on the system. Element 0 is the primary GPU.
aux_attributes: Option<Value>
An optional dictionary of additional GPU related attributes.
feature_status: Option<Value>
An optional dictionary of graphics features and their status.
driver_bug_workarounds: Vec<String>
An optional array of GPU driver bug workarounds.
video_decoding: Vec<VideoDecodeAcceleratorCapability>
Supported accelerated video decoding capabilities.
video_encoding: Vec<VideoEncodeAcceleratorCapability>
Supported accelerated video encoding capabilities.
image_decoding: Vec<ImageDecodeAcceleratorCapability>
Supported accelerated image decoding capabilities.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for GpuInfo
impl<'de> Deserialize<'de> for GpuInfo
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GpuInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GpuInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GpuInfo
impl PartialEq for GpuInfo
source§impl Serialize for GpuInfo
impl Serialize for GpuInfo
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GpuInfo
Auto Trait Implementations§
impl Freeze for GpuInfo
impl RefUnwindSafe for GpuInfo
impl Send for GpuInfo
impl Sync for GpuInfo
impl Unpin for GpuInfo
impl UnwindSafe for GpuInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more