SliceBuilderConvertFn

Type Alias SliceBuilderConvertFn 

Source
pub type SliceBuilderConvertFn = unsafe fn(builder: PtrMut) -> PtrConst;
Expand description

Converts a slice builder into a pointer. This takes ownership of the builder and frees the backing storage.

ยงSafety

The builder must be valid and must not be used after this function is called. Function is infallible as it uses the global allocator.