pub struct NeuronBackend;Trait Implementations§
Source§impl Backend for NeuronBackend
impl Backend for NeuronBackend
Source§fn kind(&self) -> BackendKind
fn kind(&self) -> BackendKind
Static identity.
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Whether the backend’s runtime libraries were located on this host.
Source§fn capabilities(&self, device: u32) -> Result<CapabilityFlags>
fn capabilities(&self, device: u32) -> Result<CapabilityFlags>
Coarse capability bits for a device, translated from the vendor’s
capability table into the common
CapabilityFlags space.Auto Trait Implementations§
impl Freeze for NeuronBackend
impl RefUnwindSafe for NeuronBackend
impl Send for NeuronBackend
impl Sync for NeuronBackend
impl Unpin for NeuronBackend
impl UnsafeUnpin for NeuronBackend
impl UnwindSafe for NeuronBackend
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