Trait alloc::alloc::WriteCloneIntoRaw
source · pub(crate) trait WriteCloneIntoRaw: Sized {
// Required method
unsafe fn write_clone_into_raw(&self, target: *mut Self);
}
Expand description
Specialize clones into pre-allocated, uninitialized memory.
Used by Box::clone
and Rc
/Arc::make_mut
.