Type Function VectorCount [src]
Returns the smallest type of unsigned ints capable of holding the length of the given vector type.
Prototype
pub fn VectorCount(comptime VectorType: type) type
Parameters
VectorType: type
Source
pub fn VectorCount(comptime VectorType: type) type {
return std.math.IntFittingRange(0, vectorLength(VectorType));
}