burn::backend::wgpu

Trait WgpuElement

pub trait WgpuElement {
    // Required method
    fn wgpu_elem() -> Elem;
}
Expand description

The base element trait for the wgpu backend.

Required Methods§

fn wgpu_elem() -> Elem

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl WgpuElement for f32

§

fn wgpu_elem() -> Elem

§

impl WgpuElement for i32

§

fn wgpu_elem() -> Elem

§

impl WgpuElement for u32

§

fn wgpu_elem() -> Elem

Implementors§