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: StringAdapter name
vendor: usizeVendor PCI id of the adapter
device: usizePCI id of the adapter
device_type: DeviceTypeType of device
backend: BackendBackend 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