pub enum Backend {
Dx12,
Empty,
Gl,
Metal,
Vulkan,
}
Expand description
Backend enumerator.
Variants§
Dx12
Microsoft’s DirectX 12 (tm) backend
Empty
Empty backend. Most functions are unimplemented!()
Gl
Khronos’ OpenGL and WebGL backends.
Metal
Apple’s Metal (tm) backend.
Vulkan
Khronos’ Vulkan backend.
Implementations§
Trait Implementations§
Source§impl From<EnabledBackend> for Backend
impl From<EnabledBackend> for Backend
Source§fn from(back: EnabledBackend) -> Self
fn from(back: EnabledBackend) -> Self
Converts to this type from the input type.
Source§impl Ord for Backend
impl Ord for Backend
Source§impl PartialOrd for Backend
impl PartialOrd for Backend
Source§impl TryFrom<Backend> for EnabledBackend
impl TryFrom<Backend> for EnabledBackend
Source§type Error = NotEnabled
type Error = NotEnabled
The type returned in the event of a conversion error.
impl Copy for Backend
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Freeze for Backend
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