#[repr(transparent)]pub struct WGPUBackendType(pub c_int);Tuple Fields§
§0: c_intImplementations§
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_Undefined: WGPUBackendType
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_Null: WGPUBackendType
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_WebGPU: WGPUBackendType
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_D3D11: WGPUBackendType
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_D3D12: WGPUBackendType
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_Metal: WGPUBackendType
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_Vulkan: WGPUBackendType
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_OpenGL: WGPUBackendType
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_OpenGLES: WGPUBackendType
Source§impl WGPUBackendType
impl WGPUBackendType
pub const WGPUBackendType_Force32: WGPUBackendType
Trait Implementations§
Source§impl Clone for WGPUBackendType
impl Clone for WGPUBackendType
Source§fn clone(&self) -> WGPUBackendType
fn clone(&self) -> WGPUBackendType
Returns a duplicate 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 Hash for WGPUBackendType
impl Hash for WGPUBackendType
Source§impl Ord for WGPUBackendType
impl Ord for WGPUBackendType
Source§fn cmp(&self, other: &WGPUBackendType) -> Ordering
fn cmp(&self, other: &WGPUBackendType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUBackendType
impl PartialEq for WGPUBackendType
Source§impl PartialOrd for WGPUBackendType
impl PartialOrd 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