pub type SliceBuilderPushFn = unsafe fn(builder: PtrMut, item: PtrMut);Expand description
Pushes a value into a slice builder.
§Safety
Item must point to a valid value of type U and must be initialized.
Function is infallible as it uses the global allocator.
item is moved out of (with core::ptr::read) — it should be deallocated afterwards
but NOT dropped.
Note: item must be PtrMut (not PtrConst) because ownership is transferred.