Skip to main content

GpuScalar

Trait GpuScalar 

Source
pub trait GpuScalar:
    Sealed
    + Clone
    + Send
    + Sync
    + 'static { }
Expand description

Marker trait for element types that wgpu-29 supports natively (f32 only; f64 is not supported in WGSL without extensions).

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl GpuScalar for f32

Implementors§