pub enum Backend {
Empty,
Vulkan,
Metal,
Dx12,
Dx11,
Gl,
BrowserWebGpu,
}
Expand description
Backends supported by wgpu.
Variants§
Empty
Dummy backend, used for testing.
Vulkan
Vulkan API
Metal
Metal API (Apple platforms)
Dx12
Direct3D-12 (Windows)
Dx11
Direct3D-11 (Windows)
Gl
OpenGL ES-3 (Linux, Android)
BrowserWebGpu
WebGPU in the browser
Trait Implementations§
source§impl PartialEq<Backend> for Backend
impl PartialEq<Backend> for Backend
impl Copy for Backend
impl Eq for Backend
impl StructuralEq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.