We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78a56aa commit 2143e1bCopy full SHA for 2143e1b
crates/spirv-std/src/scalar_or_vector.rs
@@ -1,4 +1,4 @@
1
-use crate::{Scalar, Vector};
+use crate::Scalar;
2
use core::num::NonZeroUsize;
3
4
pub(crate) mod sealed {
@@ -11,6 +11,8 @@ pub(crate) mod sealed {
11
///
12
/// # Safety
13
/// Your type must also implement [`Scalar`] or [`Vector`], see their safety sections as well.
14
+///
15
+/// [`Vector`]: crate::Vector
16
pub unsafe trait ScalarOrVector: Copy + Default + Send + Sync + 'static {
17
/// Either the scalar component type of the vector or the scalar itself.
18
type Scalar: Scalar;
0 commit comments