Skip to main content

HalBackend

Trait HalBackend 

Source
pub trait HalBackend:
    Send
    + Sync
    + 'static {
    type Instance: HalInstance<Adapter = Self::Adapter, Device = Self::Device>;
    type Adapter: HalAdapter;
    type Device: HalDevice;
}

Required Associated Types§

Source

type Instance: HalInstance<Adapter = Self::Adapter, Device = Self::Device>

Source

type Adapter: HalAdapter

Source

type Device: HalDevice

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§