Function nstd_sys::vec::nstd_vec_cap
source · #[no_mangle]
pub const extern "C" fn nstd_vec_cap(vec: &NSTDVec<'_>) -> NSTDUIntAvailable on crate feature
vec only.Expand description
Returns a vector’s capacity.
This is the max number of values the vector can contain without reallocating.
Parameters:
const NSTDVec *vec- The vector.
Returns
NSTDUInt cap - The vector’s capacity.