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§
source§impl<'de> Deserialize<'de> for Backend
impl<'de> Deserialize<'de> for Backend
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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<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