ListGetMutFn

Type Alias ListGetMutFn 

Source
pub type ListGetMutFn = unsafe fn(PtrMut, usize, &'static Shape) -> Option<PtrMut>;
Expand description

Get mutable pointer to the element at index in the list, or None if the index is out of bounds.

The shape parameter is the list’s shape, allowing type-erased implementations to extract element size from shape.type_params[0].

§Safety

The list parameter must point to aligned, initialized memory of the correct type.