Function rotateElementsLeft [src]

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

Prototype

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

Parameters

amount: VectorCount(@TypeOf(vec))

Source

pub fn rotateElementsLeft(vec: anytype, comptime amount: VectorCount(@TypeOf(vec))) @TypeOf(vec) { return mergeShift(vec, vec, amount); }