Function CSTL_vector_iterator_deref

Source
pub unsafe extern "C" fn CSTL_vector_iterator_deref(
    iterator: CSTL_VectorIter,
) -> *mut c_void
Expand description

Dereferences the iterator at the element it’s pointing to.

Returns a pointer to the element.

iterator must be dereferenceable, not value initialized and pointing to a valid element inside the vector.

It is not valid to mutate an element derived from an iterator obtained with a const vector pointer.