fn rotateElementsRight(vec: anytype, comptime amount: VectorCount(@TypeOf(vec))) @TypeOf(vec)

Elements are shifted rightwards (towards higher indices). Elements that leave to the right will reappear to the left in the same order.

Parameters

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