Struct wgpu_types::AdapterInfo
source · pub struct AdapterInfo {
pub name: String,
pub vendor: usize,
pub device: usize,
pub device_type: DeviceType,
pub backend: Backend,
}
Expand description
Information about an adapter.
Fields§
§name: String
Adapter name
vendor: usize
Vendor PCI id of the adapter
device: usize
PCI id of the adapter
device_type: DeviceType
Type of device
backend: Backend
Backend used for device
Trait Implementations§
source§impl Clone for AdapterInfo
impl Clone for AdapterInfo
source§fn clone(&self) -> AdapterInfo
fn clone(&self) -> AdapterInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more