pub enum NativeGpuBackend {
Vulkan,
D3D12,
Metal,
}Expand description
The graphics API a native interop helper called.
Variants§
Vulkan
Vulkan; the status is a VkResult.
D3D12
Direct3D 12; the status is an HRESULT.
Metal
Metal through CoreVideo; the status is a CVReturn.
Implementations§
Trait Implementations§
Source§impl Clone for NativeGpuBackend
impl Clone for NativeGpuBackend
impl Copy for NativeGpuBackend
Source§impl Debug for NativeGpuBackend
impl Debug for NativeGpuBackend
impl Eq for NativeGpuBackend
Source§impl PartialEq for NativeGpuBackend
impl PartialEq for NativeGpuBackend
impl StructuralPartialEq for NativeGpuBackend
Auto Trait Implementations§
impl Freeze for NativeGpuBackend
impl RefUnwindSafe for NativeGpuBackend
impl Send for NativeGpuBackend
impl Sync for NativeGpuBackend
impl Unpin for NativeGpuBackend
impl UnsafeUnpin for NativeGpuBackend
impl UnwindSafe for NativeGpuBackend
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