nstd_vec_as_slice_mut

Function nstd_vec_as_slice_mut 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nstd_vec_as_slice_mut( vec: &mut NSTDVec<'_>, ) -> NSTDSliceMut
Available on crate feature vec only.
Expand description

Returns a slice containing all of a vector’s active elements.

§Parameters:

  • NSTDVec *vec - The vector.

§Returns

NSTDSliceMut slice - A mutable view into the vector.