Trait WgpuElement

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

The base element trait for the wgpu backend.

Required Methods§

Source

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§

Source§

impl WgpuElement for f32

Source§

fn wgpu_elem() -> Elem

Source§

impl WgpuElement for i32

Source§

fn wgpu_elem() -> Elem

Source§

impl WgpuElement for u32

Source§

fn wgpu_elem() -> Elem

Implementors§