DefaultInPlaceFn

Type Alias DefaultInPlaceFn 

Source
pub type DefaultInPlaceFn = for<'mem> unsafe fn(target: OpaqueUninit<'mem>) -> Opaque<'mem>;
Expand description

Function to set a value to its default in-place

ยงSafety

The target parameter has the correct layout and alignment, but points to uninitialized memory. The function returns the same pointer wrapped in an Opaque.