#[repr(u32)]pub enum WGPUBackendType {
Undefined = 0,
Null = 1,
WebGPU = 2,
D3D11 = 3,
D3D12 = 4,
Metal = 5,
Vulkan = 6,
OpenGL = 7,
OpenGLES = 8,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WGPUBackendType
impl Clone for WGPUBackendType
Source§fn clone(&self) -> WGPUBackendType
fn clone(&self) -> WGPUBackendType
Returns a copy of the value. Read more
1.0.0 · 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 WGPUBackendType
impl Debug for WGPUBackendType
Source§impl Display for WGPUBackendType
impl Display for WGPUBackendType
Source§impl<'_derivative_strum> From<&'_derivative_strum WGPUBackendType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUBackendType> for &'static str
Source§fn from(x: &'_derivative_strum WGPUBackendType) -> &'static str
fn from(x: &'_derivative_strum WGPUBackendType) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUBackendType> for &'static str
impl From<WGPUBackendType> for &'static str
Source§fn from(x: WGPUBackendType) -> &'static str
fn from(x: WGPUBackendType) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WGPUBackendType
impl FromStr for WGPUBackendType
Source§impl Hash for WGPUBackendType
impl Hash for WGPUBackendType
Source§impl PartialEq for WGPUBackendType
impl PartialEq for WGPUBackendType
Source§impl TryFrom<&str> for WGPUBackendType
impl TryFrom<&str> for WGPUBackendType
impl Copy for WGPUBackendType
impl Eq for WGPUBackendType
impl StructuralPartialEq for WGPUBackendType
Auto Trait Implementations§
impl Freeze for WGPUBackendType
impl RefUnwindSafe for WGPUBackendType
impl Send for WGPUBackendType
impl Sync for WGPUBackendType
impl Unpin for WGPUBackendType
impl UnwindSafe for WGPUBackendType
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