Type Alias ListPushFn

Source
pub type ListPushFn = unsafe fn(list: Opaque<'_>, item: Opaque<'_>);
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 std::ptr::read) — it should be deallocated afterwards but NOT dropped.