#placenew: Placement new for rust

6 messages · Page 1 of 1 (latest)

true wave
spark shuttle
#

Fwiw there's also pinned-init

silk tangleBOT
#

Library to facilitate safe pinned initialization

Version

0.0.10

Downloads

70 059

true wave
spark shuttle
#

They're related though, self-referential initialisation requires inplace initialisation

#

To me it looks like placenew::place_boxed!(...) is mostly equivalent to Box::init(pin_init::init_pin!(...))