Add assoc const SimdArray::LANES

This commit is contained in:
Jubilee Young 2021-06-22 15:17:01 -07:00
parent 81ceda8c5b
commit f38659a46c

View file

@ -15,6 +15,8 @@ where
{
/// The scalar type in every lane of this vector type.
type Scalar: Copy + Sized;
/// The number of lanes for this vector.
const LANES: usize = LANES;
/// Generates a SIMD vector with the same value in every lane.
#[must_use]