diff options
| -rw-r--r-- | crates/core_simd/src/vector.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/core_simd/src/vector.rs b/crates/core_simd/src/vector.rs index 4ccdb9c5a5d..9cefe384264 100644 --- a/crates/core_simd/src/vector.rs +++ b/crates/core_simd/src/vector.rs @@ -24,6 +24,9 @@ where LaneCount<LANES>: SupportedLaneCount, T: SimdElement, { + /// Number of lanes in this vector. + pub const LANES: usize = LANES; + /// Get the number of lanes in this vector. pub const fn lanes(&self) -> usize { LANES |
