Crate placement_new[−][src]
Common utilities to implement “placement-new”.
Traits
SinglePlace | A place containing a single value. |
UninitProject | A type with determined layout. It can be projected to another type with the same fields, but all the fields are not initialized yet. |
Functions
emplace_by | Allocates memory and initialize it. |
emplace_zeroed_by | Allocates zeroed memory and initialize it. |
memset_zeroed | Sets the content of |
overwrite | Overwrites the content of |
uninit_project | Projects a type to its uninitialized mirror. |
Derive Macros
UninitProject | Implements |