pub struct MetalBackend;Expand description
Metal backend (Apple GPUs) - placeholder
Reports unavailable on every platform. This crate contains Metal shader
source (metal_shaders) but no dispatcher: nothing here calls
MTLDevice::newLibraryWithSource or MTLComputeCommandEncoder. On macOS,
use the wgpu feature, which reaches Apple GPUs through wgpu’s Metal
backend and does execute.
Trait Implementations§
Source§impl Backend for MetalBackend
impl Backend for MetalBackend
Source§impl Debug for MetalBackend
impl Debug for MetalBackend
Source§impl Default for MetalBackend
impl Default for MetalBackend
Source§fn default() -> MetalBackend
fn default() -> MetalBackend
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetalBackend
impl RefUnwindSafe for MetalBackend
impl Send for MetalBackend
impl Sync for MetalBackend
impl Unpin for MetalBackend
impl UnsafeUnpin for MetalBackend
impl UnwindSafe for MetalBackend
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