Luna::Vector::capacity

usize capacity() const

Gets the capacity of the vector, that is, the maximum number of elements this vector can hold before next expansion.

Return value

Returns the capacity of the vector.