Struct FixedArray

A variable size array with a fixed maximal capacity

struct FixedArray(T, ulong N, bool InitializeMembers = true) ;

Properties

NameTypeDescription
array[get] inout(T)[]Returns a standard slice pointing at the array's data
capacity[get] LReturn the maximal capacity of the array
len[get] LReturn the length of the array.
length[get, set] size_tProperty for getting and setting the length of the array.

Methods

NameDescription
safeSetPrefix Set the FixedArray to whatever fits from the beginning of arr2
safeSetSuffix Set the FixedArray to whatever fits from the end of arr2

Aliases

NameDescription
ElementType Alias for querying the array's element type