Struct gfx_core::AdapterInfo
[−]
[src]
pub struct AdapterInfo { pub name: String, pub vendor: usize, pub device: usize, pub software_rendering: bool, }
Information about a backend adapater.
Fields
name: String
Adapter name
vendor: usize
Vendor PCI id of the adapter
device: usize
PCI id of the adapter
software_rendering: bool
The device is based on a software rasterizer
Trait Implementations
impl Clone for AdapterInfo
[src]
fn clone(&self) -> AdapterInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for AdapterInfo
[src]
impl Eq for AdapterInfo
[src]
impl PartialEq for AdapterInfo
[src]
fn eq(&self, __arg_0: &AdapterInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AdapterInfo) -> bool
This method tests for !=
.