Function nstd_sys::vec::nstd_vec_clear

source ·
#[no_mangle]
pub extern "C" fn nstd_vec_clear(vec: &mut NSTDVec<'_>)
Available on crate feature vec only.
Expand description

Sets a vector’s length to zero.

Parameters:

  • NSTDVec *vec - The vector to clear.