Struct wgpu::AdapterInfo [−][src]
pub struct AdapterInfo { pub name: String, pub vendor: usize, pub device: usize, pub device_type: DeviceType, pub backend: Backend, }
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
impl Clone for AdapterInfo
[src]
impl Clone for AdapterInfo
[src]pub fn clone(&self) -> AdapterInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for AdapterInfo
[src]
impl<'de> Deserialize<'de> for AdapterInfo
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<AdapterInfo, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<AdapterInfo, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialEq<AdapterInfo> for AdapterInfo
[src]
impl PartialEq<AdapterInfo> for AdapterInfo
[src]pub fn eq(&self, other: &AdapterInfo) -> bool
[src]
pub fn ne(&self, other: &AdapterInfo) -> bool
[src]
impl Serialize for AdapterInfo
[src]
impl Serialize for AdapterInfo
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for AdapterInfo
[src]
impl StructuralPartialEq for AdapterInfo
[src]Auto Trait Implementations
impl RefUnwindSafe for AdapterInfo
impl RefUnwindSafe for AdapterInfo
impl Send for AdapterInfo
impl Send for AdapterInfo
impl Sync for AdapterInfo
impl Sync for AdapterInfo
impl Unpin for AdapterInfo
impl Unpin for AdapterInfo
impl UnwindSafe for AdapterInfo
impl UnwindSafe for AdapterInfo