Function nstd_vec_as_slice
Source #[unsafe(no_mangle)]
pub const extern "C" fn nstd_vec_as_slice(
vec: &NSTDVec<'_>,
) -> NSTDSlice
Available on crate feature vec only.
Expand description
Returns an immutable slice containing all of a vector’s active elements.
§Parameters:
const NSTDVec *vec - The vector.
§Returns
NSTDSlice slice - An immutable view into the vector.