FixedArray

A variable size array with a fixed maximal capacity

Alias This

array

FixedArray is implicitly convertible to its underlying array

Members

Aliases

ElementType
alias ElementType = T

Alias for querying the array's element type

Functions

opOpAssign
auto ref opOpAssign(U val)
Undocumented in source. Be warned that the author may not have intended to support it.
safeSetPrefix
void safeSetPrefix(const(T)[] arr2)

Set the FixedArray to whatever fits from the beginning of arr2

safeSetPrefix
void safeSetPrefix(T[] arr2)

Set the FixedArray to whatever fits from the beginning of arr2

safeSetSuffix
void safeSetSuffix(const(T)[] arr2)

Set the FixedArray to whatever fits from the end of arr2

safeSetSuffix
void safeSetSuffix(T[] arr2)

Set the FixedArray to whatever fits from the end of arr2

Properties

array
inout(T)[] array [@property getter]

Returns a standard slice pointing at the array's data

capacity
L capacity [@property getter]

Return the maximal capacity of the array

len
L len [@property getter]

Return the length of the array.

length
size_t length [@property getter]
size_t length [@property setter]

Property for getting and setting the length of the array.

Meta