Enum wgpu_types::Backend
source · [−]#[repr(u8)]
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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more