pub struct WgpuAdapterInfo {
pub name: String,
pub backend: String,
pub device_type: String,
pub driver: String,
pub driver_info: String,
}Expand description
Stable, serializable-friendly identity for the selected wgpu adapter.
Fields§
§name: StringHuman-readable adapter name.
backend: StringGraphics API backend such as Vulkan, Metal, or DirectX 12.
device_type: StringAdapter class such as integrated, discrete, CPU, or virtual GPU.
driver: StringDriver name reported by wgpu.
driver_info: StringAdditional driver version/details reported by wgpu.
Trait Implementations§
Source§impl Clone for WgpuAdapterInfo
impl Clone for WgpuAdapterInfo
Source§fn clone(&self) -> WgpuAdapterInfo
fn clone(&self) -> WgpuAdapterInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WgpuAdapterInfo
impl Debug for WgpuAdapterInfo
Source§impl PartialEq for WgpuAdapterInfo
impl PartialEq for WgpuAdapterInfo
Source§fn eq(&self, other: &WgpuAdapterInfo) -> bool
fn eq(&self, other: &WgpuAdapterInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WgpuAdapterInfo
impl StructuralPartialEq for WgpuAdapterInfo
Auto Trait Implementations§
impl Freeze for WgpuAdapterInfo
impl RefUnwindSafe for WgpuAdapterInfo
impl Send for WgpuAdapterInfo
impl Sync for WgpuAdapterInfo
impl Unpin for WgpuAdapterInfo
impl UnsafeUnpin for WgpuAdapterInfo
impl UnwindSafe for WgpuAdapterInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more