pub struct MetalBackend;Expand description
Metal backend (Apple GPUs)
Uses manzana crate for safe Rust Metal bindings on macOS.
Enable with --features metal on macOS.
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