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