Function nstd_sys::vec::nstd_vec_stride

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

Returns the amount of bytes each value in a vector occupies.

Parameters:

  • const NSTDVec *vec - The vector.

Returns

NSTDUInt stride - The size of each value in the vector.