Lines Matching full:place
23 Library to safely and fallibly initialize pinned `struct`s using in-place constructors.
27 It also allows in-place initialization of big `struct`s that would otherwise produce a stack
33 There are cases when you want to in-place initialize a struct. For example when it is very big
40 This library allows you to do in-place initialization safely.
63 To initialize a `struct` with an in-place constructor you will need two things:
64 - an in-place constructor,
68 To get an in-place constructor there are generally three options:
69 - directly creating an in-place constructor using the [`pin_init!`] macro,
70 - a custom function/macro returning an in-place constructor provided by someone else,
73 Aside from pinned initialization, this library also supports in-place construction without
88 [structurally pinned fields]. After doing this, you can then create an in-place constructor via
90 that you need to write `<-` instead of `:` for fields that you want to initialize in-place.