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
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AdapterInfo
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for AdapterInfo
[src]
impl PartialEq for AdapterInfo
[src]
fn eq(&self, __arg_0: &AdapterInfo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AdapterInfo) -> bool
[src]
This method tests for !=
.