pub trait Hal: 'static {
type Context: HalContext<Hal = Self>;
type Texture: HalTexture;
type Fence: HalFence;
const NAME: &'static str;
}Expand description
A rendering backend, as a family of associated types.
Implementors are zero-sized markers; the types they name carry the work.
Required Associated Constants§
Required Associated Types§
type Context: HalContext<Hal = Self>
type Texture: HalTexture
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".