Struct chrome_remote_interface_model::system_info::GpuDeviceBuilder [−][src]
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]
fn clone(&self) -> GpuDeviceBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GpuDeviceBuilder
[src]
impl Default for GpuDeviceBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for GpuDeviceBuilder
[src]
impl Send for GpuDeviceBuilder
[src]
impl Sync for GpuDeviceBuilder
[src]
impl Unpin for GpuDeviceBuilder
[src]
impl UnwindSafe for GpuDeviceBuilder
[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>,