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