Trait burn::backend::wgpu::GraphicsApi

pub trait GraphicsApi: Send + Sync + Debug + Default + Clone + 'static {
    // Required method
    fn backend() -> Backend;
}
Expand description

The basic trait to specify which graphics API to use as Backend.

Options are:

Required Methods§

fn backend() -> Backend

The wgpu backend.

Object Safety§

This trait is not object safe.

Implementors§