pub type ListPushFn = unsafe fn(PtrMut<'_>, PtrMut<'_>);Expand description
Push an item to the list
§Safety
The list parameter must point to aligned, initialized memory of the correct type.
item is moved out of (with core::ptr::read) — it should be deallocated afterwards (e.g.
with core::mem::forget) but NOT dropped.