Struct chrome_remote_interface_model::system_info::GpuDevice [−][src]
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for GpuDevice[src]
Auto Trait Implementations
impl RefUnwindSafe for GpuDevice[src]
impl Send for GpuDevice[src]
impl Sync for GpuDevice[src]
impl Unpin for GpuDevice[src]
impl UnwindSafe for GpuDevice[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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
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>,