pub enum BackendType {
Undefined,
Null,
WebGPU,
D3D11,
D3D12,
Metal,
Vulkan,
OpenGL,
OpenGLes,
}Variants§
Trait Implementations§
Source§impl Clone for BackendType
impl Clone for BackendType
Source§fn clone(&self) -> BackendType
fn clone(&self) -> BackendType
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 BackendType
impl Debug for BackendType
Source§impl From<BackendType> for c_uint
impl From<BackendType> for c_uint
Source§fn from(value: BackendType) -> Self
fn from(value: BackendType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for BackendType
impl From<u32> for BackendType
Source§impl Hash for BackendType
impl Hash for BackendType
Source§impl PartialEq for BackendType
impl PartialEq for BackendType
impl Copy for BackendType
impl Eq for BackendType
impl StructuralPartialEq for BackendType
Auto Trait Implementations§
impl Freeze for BackendType
impl RefUnwindSafe for BackendType
impl Send for BackendType
impl Sync for BackendType
impl Unpin for BackendType
impl UnsafeUnpin for BackendType
impl UnwindSafe for BackendType
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