Function placement_new::emplace_zeroed_by[][src]

pub fn emplace_zeroed_by(layout: Layout, f: impl FnOnce(*mut ())) -> *mut ()

Allocates zeroed memory and initialize it.