#[repr(u32)]pub enum BackendApi {
Dawn = 0,
Metal = 1,
Vulkan = 2,
Mock = 3,
Unsupported = 4,
}Variants§
Trait Implementations§
Source§impl Clone for skgpu_BackendApi
impl Clone for skgpu_BackendApi
Source§fn clone(&self) -> skgpu_BackendApi
fn clone(&self) -> skgpu_BackendApi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 skgpu_BackendApi
impl Debug for skgpu_BackendApi
Source§impl Hash for skgpu_BackendApi
impl Hash for skgpu_BackendApi
Source§impl PartialEq for skgpu_BackendApi
impl PartialEq for skgpu_BackendApi
Source§fn eq(&self, other: &skgpu_BackendApi) -> bool
fn eq(&self, other: &skgpu_BackendApi) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for skgpu_BackendApi
impl Eq for skgpu_BackendApi
impl StructuralPartialEq for skgpu_BackendApi
Auto Trait Implementations§
impl Freeze for skgpu_BackendApi
impl RefUnwindSafe for skgpu_BackendApi
impl Send for skgpu_BackendApi
impl Sync for skgpu_BackendApi
impl Unpin for skgpu_BackendApi
impl UnsafeUnpin for skgpu_BackendApi
impl UnwindSafe for skgpu_BackendApi
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