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