Type Alias ListPushFn

Source
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 but NOT dropped.