pub unsafe trait Scalar: VectorOrScalar<Scalar = Self> + Sealed { }
Expand description
Abstract trait representing a SPIR-V scalar type.
§Safety
Implementing this trait on non-scalar types breaks assumptions of other unsafe code, and should not be done.
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.