fn shiftElementsLeft(vec: anytype, comptime amount: VectorCount(@TypeOf(vec)), shift_in: field_call) @TypeOf(vec)

Elements are shifted leftwards (towards lower indices). New elements are added to the right, and the leftmost elements are cut off so that no elements with indices below 0 remain.

Parameters

vec: anytype,
amount: VectorCount(@TypeOf(vec)),
shift_in: field_call,