We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Send + Sync + 'static
1 parent 0750b30 commit 9e874c3Copy full SHA for 9e874c3
crates/spirv-std/src/vector.rs
@@ -9,7 +9,7 @@ use glam::{Vec3Swizzles, Vec4Swizzles};
9
/// # Safety
10
/// Implementing this trait on non-scalar or non-vector types may break assumptions about other
11
/// unsafe code, and should not be done.
12
-pub unsafe trait VectorOrScalar: Default {
+pub unsafe trait VectorOrScalar: Default + Send + Sync + 'static {
13
/// Either the scalar component type of the vector or the scalar itself.
14
type Scalar: Scalar;
15
0 commit comments